github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/declarativenetrequest/bindings/import_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build wasm
     5  
     6  package bindings
     7  
     8  import (
     9  	"unsafe"
    10  
    11  	"github.com/primecitizens/pcz/std/ffi/js"
    12  )
    13  
    14  type (
    15  	_ unsafe.Pointer
    16  	_ js.Ref
    17  )
    18  
    19  //go:wasmimport plat/js/webext/declarativenetrequest store_Ruleset
    20  //go:noescape
    21  func RulesetJSStore(
    22  	ptr unsafe.Pointer, ref js.Ref)
    23  
    24  //go:wasmimport plat/js/webext/declarativenetrequest load_Ruleset
    25  //go:noescape
    26  func RulesetJSLoad(
    27  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    28  
    29  //go:wasmimport plat/js/webext/declarativenetrequest store_DNRInfo
    30  //go:noescape
    31  func DNRInfoJSStore(
    32  	ptr unsafe.Pointer, ref js.Ref)
    33  
    34  //go:wasmimport plat/js/webext/declarativenetrequest load_DNRInfo
    35  //go:noescape
    36  func DNRInfoJSLoad(
    37  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    38  
    39  //go:wasmimport plat/js/webext/declarativenetrequest constof_DomainType
    40  //go:noescape
    41  func ConstOfDomainType(str js.Ref) uint32
    42  
    43  //go:wasmimport plat/js/webext/declarativenetrequest store_TabActionCountUpdate
    44  //go:noescape
    45  func TabActionCountUpdateJSStore(
    46  	ptr unsafe.Pointer, ref js.Ref)
    47  
    48  //go:wasmimport plat/js/webext/declarativenetrequest load_TabActionCountUpdate
    49  //go:noescape
    50  func TabActionCountUpdateJSLoad(
    51  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    52  
    53  //go:wasmimport plat/js/webext/declarativenetrequest store_ExtensionActionOptions
    54  //go:noescape
    55  func ExtensionActionOptionsJSStore(
    56  	ptr unsafe.Pointer, ref js.Ref)
    57  
    58  //go:wasmimport plat/js/webext/declarativenetrequest load_ExtensionActionOptions
    59  //go:noescape
    60  func ExtensionActionOptionsJSLoad(
    61  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    62  
    63  //go:wasmimport plat/js/webext/declarativenetrequest store_GetDisabledRuleIdsOptions
    64  //go:noescape
    65  func GetDisabledRuleIdsOptionsJSStore(
    66  	ptr unsafe.Pointer, ref js.Ref)
    67  
    68  //go:wasmimport plat/js/webext/declarativenetrequest load_GetDisabledRuleIdsOptions
    69  //go:noescape
    70  func GetDisabledRuleIdsOptionsJSLoad(
    71  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    72  
    73  //go:wasmimport plat/js/webext/declarativenetrequest store_MatchedRule
    74  //go:noescape
    75  func MatchedRuleJSStore(
    76  	ptr unsafe.Pointer, ref js.Ref)
    77  
    78  //go:wasmimport plat/js/webext/declarativenetrequest load_MatchedRule
    79  //go:noescape
    80  func MatchedRuleJSLoad(
    81  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    82  
    83  //go:wasmimport plat/js/webext/declarativenetrequest store_MatchedRuleInfo
    84  //go:noescape
    85  func MatchedRuleInfoJSStore(
    86  	ptr unsafe.Pointer, ref js.Ref)
    87  
    88  //go:wasmimport plat/js/webext/declarativenetrequest load_MatchedRuleInfo
    89  //go:noescape
    90  func MatchedRuleInfoJSLoad(
    91  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    92  
    93  //go:wasmimport plat/js/webext/declarativenetrequest store_RulesMatchedDetails
    94  //go:noescape
    95  func RulesMatchedDetailsJSStore(
    96  	ptr unsafe.Pointer, ref js.Ref)
    97  
    98  //go:wasmimport plat/js/webext/declarativenetrequest load_RulesMatchedDetails
    99  //go:noescape
   100  func RulesMatchedDetailsJSLoad(
   101  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   102  
   103  //go:wasmimport plat/js/webext/declarativenetrequest constof_ResourceType
   104  //go:noescape
   105  func ConstOfResourceType(str js.Ref) uint32
   106  
   107  //go:wasmimport plat/js/webext/declarativenetrequest constof_RequestMethod
   108  //go:noescape
   109  func ConstOfRequestMethod(str js.Ref) uint32
   110  
   111  //go:wasmimport plat/js/webext/declarativenetrequest store_RuleCondition
   112  //go:noescape
   113  func RuleConditionJSStore(
   114  	ptr unsafe.Pointer, ref js.Ref)
   115  
   116  //go:wasmimport plat/js/webext/declarativenetrequest load_RuleCondition
   117  //go:noescape
   118  func RuleConditionJSLoad(
   119  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   120  
   121  //go:wasmimport plat/js/webext/declarativenetrequest constof_RuleActionType
   122  //go:noescape
   123  func ConstOfRuleActionType(str js.Ref) uint32
   124  
   125  //go:wasmimport plat/js/webext/declarativenetrequest store_QueryKeyValue
   126  //go:noescape
   127  func QueryKeyValueJSStore(
   128  	ptr unsafe.Pointer, ref js.Ref)
   129  
   130  //go:wasmimport plat/js/webext/declarativenetrequest load_QueryKeyValue
   131  //go:noescape
   132  func QueryKeyValueJSLoad(
   133  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   134  
   135  //go:wasmimport plat/js/webext/declarativenetrequest store_QueryTransform
   136  //go:noescape
   137  func QueryTransformJSStore(
   138  	ptr unsafe.Pointer, ref js.Ref)
   139  
   140  //go:wasmimport plat/js/webext/declarativenetrequest load_QueryTransform
   141  //go:noescape
   142  func QueryTransformJSLoad(
   143  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   144  
   145  //go:wasmimport plat/js/webext/declarativenetrequest store_URLTransform
   146  //go:noescape
   147  func URLTransformJSStore(
   148  	ptr unsafe.Pointer, ref js.Ref)
   149  
   150  //go:wasmimport plat/js/webext/declarativenetrequest load_URLTransform
   151  //go:noescape
   152  func URLTransformJSLoad(
   153  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   154  
   155  //go:wasmimport plat/js/webext/declarativenetrequest store_Redirect
   156  //go:noescape
   157  func RedirectJSStore(
   158  	ptr unsafe.Pointer, ref js.Ref)
   159  
   160  //go:wasmimport plat/js/webext/declarativenetrequest load_Redirect
   161  //go:noescape
   162  func RedirectJSLoad(
   163  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   164  
   165  //go:wasmimport plat/js/webext/declarativenetrequest constof_HeaderOperation
   166  //go:noescape
   167  func ConstOfHeaderOperation(str js.Ref) uint32
   168  
   169  //go:wasmimport plat/js/webext/declarativenetrequest store_ModifyHeaderInfo
   170  //go:noescape
   171  func ModifyHeaderInfoJSStore(
   172  	ptr unsafe.Pointer, ref js.Ref)
   173  
   174  //go:wasmimport plat/js/webext/declarativenetrequest load_ModifyHeaderInfo
   175  //go:noescape
   176  func ModifyHeaderInfoJSLoad(
   177  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   178  
   179  //go:wasmimport plat/js/webext/declarativenetrequest store_RuleAction
   180  //go:noescape
   181  func RuleActionJSStore(
   182  	ptr unsafe.Pointer, ref js.Ref)
   183  
   184  //go:wasmimport plat/js/webext/declarativenetrequest load_RuleAction
   185  //go:noescape
   186  func RuleActionJSLoad(
   187  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   188  
   189  //go:wasmimport plat/js/webext/declarativenetrequest store_Rule
   190  //go:noescape
   191  func RuleJSStore(
   192  	ptr unsafe.Pointer, ref js.Ref)
   193  
   194  //go:wasmimport plat/js/webext/declarativenetrequest load_Rule
   195  //go:noescape
   196  func RuleJSLoad(
   197  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   198  
   199  //go:wasmimport plat/js/webext/declarativenetrequest store_GetRulesFilter
   200  //go:noescape
   201  func GetRulesFilterJSStore(
   202  	ptr unsafe.Pointer, ref js.Ref)
   203  
   204  //go:wasmimport plat/js/webext/declarativenetrequest load_GetRulesFilter
   205  //go:noescape
   206  func GetRulesFilterJSLoad(
   207  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   208  
   209  //go:wasmimport plat/js/webext/declarativenetrequest constof_UnsupportedRegexReason
   210  //go:noescape
   211  func ConstOfUnsupportedRegexReason(str js.Ref) uint32
   212  
   213  //go:wasmimport plat/js/webext/declarativenetrequest store_IsRegexSupportedResult
   214  //go:noescape
   215  func IsRegexSupportedResultJSStore(
   216  	ptr unsafe.Pointer, ref js.Ref)
   217  
   218  //go:wasmimport plat/js/webext/declarativenetrequest load_IsRegexSupportedResult
   219  //go:noescape
   220  func IsRegexSupportedResultJSLoad(
   221  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   222  
   223  //go:wasmimport plat/js/webext/declarativenetrequest store_ManifestKeys
   224  //go:noescape
   225  func ManifestKeysJSStore(
   226  	ptr unsafe.Pointer, ref js.Ref)
   227  
   228  //go:wasmimport plat/js/webext/declarativenetrequest load_ManifestKeys
   229  //go:noescape
   230  func ManifestKeysJSLoad(
   231  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   232  
   233  //go:wasmimport plat/js/webext/declarativenetrequest store_RequestDetails
   234  //go:noescape
   235  func RequestDetailsJSStore(
   236  	ptr unsafe.Pointer, ref js.Ref)
   237  
   238  //go:wasmimport plat/js/webext/declarativenetrequest load_RequestDetails
   239  //go:noescape
   240  func RequestDetailsJSLoad(
   241  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   242  
   243  //go:wasmimport plat/js/webext/declarativenetrequest store_MatchedRuleInfoDebug
   244  //go:noescape
   245  func MatchedRuleInfoDebugJSStore(
   246  	ptr unsafe.Pointer, ref js.Ref)
   247  
   248  //go:wasmimport plat/js/webext/declarativenetrequest load_MatchedRuleInfoDebug
   249  //go:noescape
   250  func MatchedRuleInfoDebugJSLoad(
   251  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   252  
   253  //go:wasmimport plat/js/webext/declarativenetrequest store_MatchedRulesFilter
   254  //go:noescape
   255  func MatchedRulesFilterJSStore(
   256  	ptr unsafe.Pointer, ref js.Ref)
   257  
   258  //go:wasmimport plat/js/webext/declarativenetrequest load_MatchedRulesFilter
   259  //go:noescape
   260  func MatchedRulesFilterJSLoad(
   261  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   262  
   263  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_GUARANTEED_MINIMUM_STATIC_RULES
   264  //go:noescape
   265  func HasFuncPropertiesGUARANTEED_MINIMUM_STATIC_RULES(this js.Ref) js.Ref
   266  
   267  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_GUARANTEED_MINIMUM_STATIC_RULES
   268  //go:noescape
   269  func FuncPropertiesGUARANTEED_MINIMUM_STATIC_RULES(this js.Ref, fn unsafe.Pointer)
   270  
   271  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_GUARANTEED_MINIMUM_STATIC_RULES
   272  //go:noescape
   273  func CallPropertiesGUARANTEED_MINIMUM_STATIC_RULES(
   274  	this js.Ref, retPtr unsafe.Pointer)
   275  
   276  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_GUARANTEED_MINIMUM_STATIC_RULES
   277  //go:noescape
   278  func TryPropertiesGUARANTEED_MINIMUM_STATIC_RULES(
   279  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   280  
   281  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_NUMBER_OF_DYNAMIC_RULES
   282  //go:noescape
   283  func HasFuncPropertiesMAX_NUMBER_OF_DYNAMIC_RULES(this js.Ref) js.Ref
   284  
   285  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_NUMBER_OF_DYNAMIC_RULES
   286  //go:noescape
   287  func FuncPropertiesMAX_NUMBER_OF_DYNAMIC_RULES(this js.Ref, fn unsafe.Pointer)
   288  
   289  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_NUMBER_OF_DYNAMIC_RULES
   290  //go:noescape
   291  func CallPropertiesMAX_NUMBER_OF_DYNAMIC_RULES(
   292  	this js.Ref, retPtr unsafe.Pointer)
   293  
   294  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_NUMBER_OF_DYNAMIC_RULES
   295  //go:noescape
   296  func TryPropertiesMAX_NUMBER_OF_DYNAMIC_RULES(
   297  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   298  
   299  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES
   300  //go:noescape
   301  func HasFuncPropertiesMAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES(this js.Ref) js.Ref
   302  
   303  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES
   304  //go:noescape
   305  func FuncPropertiesMAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES(this js.Ref, fn unsafe.Pointer)
   306  
   307  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES
   308  //go:noescape
   309  func CallPropertiesMAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES(
   310  	this js.Ref, retPtr unsafe.Pointer)
   311  
   312  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES
   313  //go:noescape
   314  func TryPropertiesMAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES(
   315  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   316  
   317  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_GETMATCHEDRULES_QUOTA_INTERVAL
   318  //go:noescape
   319  func HasFuncPropertiesGETMATCHEDRULES_QUOTA_INTERVAL(this js.Ref) js.Ref
   320  
   321  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_GETMATCHEDRULES_QUOTA_INTERVAL
   322  //go:noescape
   323  func FuncPropertiesGETMATCHEDRULES_QUOTA_INTERVAL(this js.Ref, fn unsafe.Pointer)
   324  
   325  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_GETMATCHEDRULES_QUOTA_INTERVAL
   326  //go:noescape
   327  func CallPropertiesGETMATCHEDRULES_QUOTA_INTERVAL(
   328  	this js.Ref, retPtr unsafe.Pointer)
   329  
   330  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_GETMATCHEDRULES_QUOTA_INTERVAL
   331  //go:noescape
   332  func TryPropertiesGETMATCHEDRULES_QUOTA_INTERVAL(
   333  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   334  
   335  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_GETMATCHEDRULES_CALLS_PER_INTERVAL
   336  //go:noescape
   337  func HasFuncPropertiesMAX_GETMATCHEDRULES_CALLS_PER_INTERVAL(this js.Ref) js.Ref
   338  
   339  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_GETMATCHEDRULES_CALLS_PER_INTERVAL
   340  //go:noescape
   341  func FuncPropertiesMAX_GETMATCHEDRULES_CALLS_PER_INTERVAL(this js.Ref, fn unsafe.Pointer)
   342  
   343  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_GETMATCHEDRULES_CALLS_PER_INTERVAL
   344  //go:noescape
   345  func CallPropertiesMAX_GETMATCHEDRULES_CALLS_PER_INTERVAL(
   346  	this js.Ref, retPtr unsafe.Pointer)
   347  
   348  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_GETMATCHEDRULES_CALLS_PER_INTERVAL
   349  //go:noescape
   350  func TryPropertiesMAX_GETMATCHEDRULES_CALLS_PER_INTERVAL(
   351  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   352  
   353  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_NUMBER_OF_REGEX_RULES
   354  //go:noescape
   355  func HasFuncPropertiesMAX_NUMBER_OF_REGEX_RULES(this js.Ref) js.Ref
   356  
   357  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_NUMBER_OF_REGEX_RULES
   358  //go:noescape
   359  func FuncPropertiesMAX_NUMBER_OF_REGEX_RULES(this js.Ref, fn unsafe.Pointer)
   360  
   361  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_NUMBER_OF_REGEX_RULES
   362  //go:noescape
   363  func CallPropertiesMAX_NUMBER_OF_REGEX_RULES(
   364  	this js.Ref, retPtr unsafe.Pointer)
   365  
   366  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_NUMBER_OF_REGEX_RULES
   367  //go:noescape
   368  func TryPropertiesMAX_NUMBER_OF_REGEX_RULES(
   369  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   370  
   371  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_NUMBER_OF_STATIC_RULESETS
   372  //go:noescape
   373  func HasFuncPropertiesMAX_NUMBER_OF_STATIC_RULESETS(this js.Ref) js.Ref
   374  
   375  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_NUMBER_OF_STATIC_RULESETS
   376  //go:noescape
   377  func FuncPropertiesMAX_NUMBER_OF_STATIC_RULESETS(this js.Ref, fn unsafe.Pointer)
   378  
   379  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_NUMBER_OF_STATIC_RULESETS
   380  //go:noescape
   381  func CallPropertiesMAX_NUMBER_OF_STATIC_RULESETS(
   382  	this js.Ref, retPtr unsafe.Pointer)
   383  
   384  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_NUMBER_OF_STATIC_RULESETS
   385  //go:noescape
   386  func TryPropertiesMAX_NUMBER_OF_STATIC_RULESETS(
   387  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   388  
   389  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_MAX_NUMBER_OF_ENABLED_STATIC_RULESETS
   390  //go:noescape
   391  func HasFuncPropertiesMAX_NUMBER_OF_ENABLED_STATIC_RULESETS(this js.Ref) js.Ref
   392  
   393  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_MAX_NUMBER_OF_ENABLED_STATIC_RULESETS
   394  //go:noescape
   395  func FuncPropertiesMAX_NUMBER_OF_ENABLED_STATIC_RULESETS(this js.Ref, fn unsafe.Pointer)
   396  
   397  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_MAX_NUMBER_OF_ENABLED_STATIC_RULESETS
   398  //go:noescape
   399  func CallPropertiesMAX_NUMBER_OF_ENABLED_STATIC_RULESETS(
   400  	this js.Ref, retPtr unsafe.Pointer)
   401  
   402  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_MAX_NUMBER_OF_ENABLED_STATIC_RULESETS
   403  //go:noescape
   404  func TryPropertiesMAX_NUMBER_OF_ENABLED_STATIC_RULESETS(
   405  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   406  
   407  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_DYNAMIC_RULESET_ID
   408  //go:noescape
   409  func HasFuncPropertiesDYNAMIC_RULESET_ID(this js.Ref) js.Ref
   410  
   411  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_DYNAMIC_RULESET_ID
   412  //go:noescape
   413  func FuncPropertiesDYNAMIC_RULESET_ID(this js.Ref, fn unsafe.Pointer)
   414  
   415  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_DYNAMIC_RULESET_ID
   416  //go:noescape
   417  func CallPropertiesDYNAMIC_RULESET_ID(
   418  	this js.Ref, retPtr unsafe.Pointer)
   419  
   420  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_DYNAMIC_RULESET_ID
   421  //go:noescape
   422  func TryPropertiesDYNAMIC_RULESET_ID(
   423  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   424  
   425  //go:wasmimport plat/js/webext/declarativenetrequest has_Properties_SESSION_RULESET_ID
   426  //go:noescape
   427  func HasFuncPropertiesSESSION_RULESET_ID(this js.Ref) js.Ref
   428  
   429  //go:wasmimport plat/js/webext/declarativenetrequest func_Properties_SESSION_RULESET_ID
   430  //go:noescape
   431  func FuncPropertiesSESSION_RULESET_ID(this js.Ref, fn unsafe.Pointer)
   432  
   433  //go:wasmimport plat/js/webext/declarativenetrequest call_Properties_SESSION_RULESET_ID
   434  //go:noescape
   435  func CallPropertiesSESSION_RULESET_ID(
   436  	this js.Ref, retPtr unsafe.Pointer)
   437  
   438  //go:wasmimport plat/js/webext/declarativenetrequest try_Properties_SESSION_RULESET_ID
   439  //go:noescape
   440  func TryPropertiesSESSION_RULESET_ID(
   441  	this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   442  
   443  //go:wasmimport plat/js/webext/declarativenetrequest store_RegexOptions
   444  //go:noescape
   445  func RegexOptionsJSStore(
   446  	ptr unsafe.Pointer, ref js.Ref)
   447  
   448  //go:wasmimport plat/js/webext/declarativenetrequest load_RegexOptions
   449  //go:noescape
   450  func RegexOptionsJSLoad(
   451  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   452  
   453  //go:wasmimport plat/js/webext/declarativenetrequest store_TestMatchOutcomeResult
   454  //go:noescape
   455  func TestMatchOutcomeResultJSStore(
   456  	ptr unsafe.Pointer, ref js.Ref)
   457  
   458  //go:wasmimport plat/js/webext/declarativenetrequest load_TestMatchOutcomeResult
   459  //go:noescape
   460  func TestMatchOutcomeResultJSLoad(
   461  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   462  
   463  //go:wasmimport plat/js/webext/declarativenetrequest store_TestMatchRequestDetails
   464  //go:noescape
   465  func TestMatchRequestDetailsJSStore(
   466  	ptr unsafe.Pointer, ref js.Ref)
   467  
   468  //go:wasmimport plat/js/webext/declarativenetrequest load_TestMatchRequestDetails
   469  //go:noescape
   470  func TestMatchRequestDetailsJSLoad(
   471  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   472  
   473  //go:wasmimport plat/js/webext/declarativenetrequest store_UpdateRuleOptions
   474  //go:noescape
   475  func UpdateRuleOptionsJSStore(
   476  	ptr unsafe.Pointer, ref js.Ref)
   477  
   478  //go:wasmimport plat/js/webext/declarativenetrequest load_UpdateRuleOptions
   479  //go:noescape
   480  func UpdateRuleOptionsJSLoad(
   481  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   482  
   483  //go:wasmimport plat/js/webext/declarativenetrequest store_UpdateRulesetOptions
   484  //go:noescape
   485  func UpdateRulesetOptionsJSStore(
   486  	ptr unsafe.Pointer, ref js.Ref)
   487  
   488  //go:wasmimport plat/js/webext/declarativenetrequest load_UpdateRulesetOptions
   489  //go:noescape
   490  func UpdateRulesetOptionsJSLoad(
   491  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   492  
   493  //go:wasmimport plat/js/webext/declarativenetrequest store_UpdateStaticRulesOptions
   494  //go:noescape
   495  func UpdateStaticRulesOptionsJSStore(
   496  	ptr unsafe.Pointer, ref js.Ref)
   497  
   498  //go:wasmimport plat/js/webext/declarativenetrequest load_UpdateStaticRulesOptions
   499  //go:noescape
   500  func UpdateStaticRulesOptionsJSLoad(
   501  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   502  
   503  //go:wasmimport plat/js/webext/declarativenetrequest has_GetAvailableStaticRuleCount
   504  //go:noescape
   505  func HasFuncGetAvailableStaticRuleCount() js.Ref
   506  
   507  //go:wasmimport plat/js/webext/declarativenetrequest func_GetAvailableStaticRuleCount
   508  //go:noescape
   509  func FuncGetAvailableStaticRuleCount(fn unsafe.Pointer)
   510  
   511  //go:wasmimport plat/js/webext/declarativenetrequest call_GetAvailableStaticRuleCount
   512  //go:noescape
   513  func CallGetAvailableStaticRuleCount(
   514  	retPtr unsafe.Pointer)
   515  
   516  //go:wasmimport plat/js/webext/declarativenetrequest try_GetAvailableStaticRuleCount
   517  //go:noescape
   518  func TryGetAvailableStaticRuleCount(
   519  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   520  
   521  //go:wasmimport plat/js/webext/declarativenetrequest has_GetDisabledRuleIds
   522  //go:noescape
   523  func HasFuncGetDisabledRuleIds() js.Ref
   524  
   525  //go:wasmimport plat/js/webext/declarativenetrequest func_GetDisabledRuleIds
   526  //go:noescape
   527  func FuncGetDisabledRuleIds(fn unsafe.Pointer)
   528  
   529  //go:wasmimport plat/js/webext/declarativenetrequest call_GetDisabledRuleIds
   530  //go:noescape
   531  func CallGetDisabledRuleIds(
   532  	retPtr unsafe.Pointer,
   533  	options unsafe.Pointer)
   534  
   535  //go:wasmimport plat/js/webext/declarativenetrequest try_GetDisabledRuleIds
   536  //go:noescape
   537  func TryGetDisabledRuleIds(
   538  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   539  	options unsafe.Pointer) (ok js.Ref)
   540  
   541  //go:wasmimport plat/js/webext/declarativenetrequest has_GetDynamicRules
   542  //go:noescape
   543  func HasFuncGetDynamicRules() js.Ref
   544  
   545  //go:wasmimport plat/js/webext/declarativenetrequest func_GetDynamicRules
   546  //go:noescape
   547  func FuncGetDynamicRules(fn unsafe.Pointer)
   548  
   549  //go:wasmimport plat/js/webext/declarativenetrequest call_GetDynamicRules
   550  //go:noescape
   551  func CallGetDynamicRules(
   552  	retPtr unsafe.Pointer,
   553  	filter unsafe.Pointer)
   554  
   555  //go:wasmimport plat/js/webext/declarativenetrequest try_GetDynamicRules
   556  //go:noescape
   557  func TryGetDynamicRules(
   558  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   559  	filter unsafe.Pointer) (ok js.Ref)
   560  
   561  //go:wasmimport plat/js/webext/declarativenetrequest has_GetEnabledRulesets
   562  //go:noescape
   563  func HasFuncGetEnabledRulesets() js.Ref
   564  
   565  //go:wasmimport plat/js/webext/declarativenetrequest func_GetEnabledRulesets
   566  //go:noescape
   567  func FuncGetEnabledRulesets(fn unsafe.Pointer)
   568  
   569  //go:wasmimport plat/js/webext/declarativenetrequest call_GetEnabledRulesets
   570  //go:noescape
   571  func CallGetEnabledRulesets(
   572  	retPtr unsafe.Pointer)
   573  
   574  //go:wasmimport plat/js/webext/declarativenetrequest try_GetEnabledRulesets
   575  //go:noescape
   576  func TryGetEnabledRulesets(
   577  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
   578  
   579  //go:wasmimport plat/js/webext/declarativenetrequest has_GetMatchedRules
   580  //go:noescape
   581  func HasFuncGetMatchedRules() js.Ref
   582  
   583  //go:wasmimport plat/js/webext/declarativenetrequest func_GetMatchedRules
   584  //go:noescape
   585  func FuncGetMatchedRules(fn unsafe.Pointer)
   586  
   587  //go:wasmimport plat/js/webext/declarativenetrequest call_GetMatchedRules
   588  //go:noescape
   589  func CallGetMatchedRules(
   590  	retPtr unsafe.Pointer,
   591  	filter unsafe.Pointer)
   592  
   593  //go:wasmimport plat/js/webext/declarativenetrequest try_GetMatchedRules
   594  //go:noescape
   595  func TryGetMatchedRules(
   596  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   597  	filter unsafe.Pointer) (ok js.Ref)
   598  
   599  //go:wasmimport plat/js/webext/declarativenetrequest has_GetSessionRules
   600  //go:noescape
   601  func HasFuncGetSessionRules() js.Ref
   602  
   603  //go:wasmimport plat/js/webext/declarativenetrequest func_GetSessionRules
   604  //go:noescape
   605  func FuncGetSessionRules(fn unsafe.Pointer)
   606  
   607  //go:wasmimport plat/js/webext/declarativenetrequest call_GetSessionRules
   608  //go:noescape
   609  func CallGetSessionRules(
   610  	retPtr unsafe.Pointer,
   611  	filter unsafe.Pointer)
   612  
   613  //go:wasmimport plat/js/webext/declarativenetrequest try_GetSessionRules
   614  //go:noescape
   615  func TryGetSessionRules(
   616  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   617  	filter unsafe.Pointer) (ok js.Ref)
   618  
   619  //go:wasmimport plat/js/webext/declarativenetrequest has_IsRegexSupported
   620  //go:noescape
   621  func HasFuncIsRegexSupported() js.Ref
   622  
   623  //go:wasmimport plat/js/webext/declarativenetrequest func_IsRegexSupported
   624  //go:noescape
   625  func FuncIsRegexSupported(fn unsafe.Pointer)
   626  
   627  //go:wasmimport plat/js/webext/declarativenetrequest call_IsRegexSupported
   628  //go:noescape
   629  func CallIsRegexSupported(
   630  	retPtr unsafe.Pointer,
   631  	regexOptions unsafe.Pointer)
   632  
   633  //go:wasmimport plat/js/webext/declarativenetrequest try_IsRegexSupported
   634  //go:noescape
   635  func TryIsRegexSupported(
   636  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   637  	regexOptions unsafe.Pointer) (ok js.Ref)
   638  
   639  //go:wasmimport plat/js/webext/declarativenetrequest has_OnRuleMatchedDebug
   640  //go:noescape
   641  func HasFuncOnRuleMatchedDebug() js.Ref
   642  
   643  //go:wasmimport plat/js/webext/declarativenetrequest func_OnRuleMatchedDebug
   644  //go:noescape
   645  func FuncOnRuleMatchedDebug(fn unsafe.Pointer)
   646  
   647  //go:wasmimport plat/js/webext/declarativenetrequest call_OnRuleMatchedDebug
   648  //go:noescape
   649  func CallOnRuleMatchedDebug(
   650  	retPtr unsafe.Pointer,
   651  	callback js.Ref)
   652  
   653  //go:wasmimport plat/js/webext/declarativenetrequest try_OnRuleMatchedDebug
   654  //go:noescape
   655  func TryOnRuleMatchedDebug(
   656  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   657  	callback js.Ref) (ok js.Ref)
   658  
   659  //go:wasmimport plat/js/webext/declarativenetrequest has_OffRuleMatchedDebug
   660  //go:noescape
   661  func HasFuncOffRuleMatchedDebug() js.Ref
   662  
   663  //go:wasmimport plat/js/webext/declarativenetrequest func_OffRuleMatchedDebug
   664  //go:noescape
   665  func FuncOffRuleMatchedDebug(fn unsafe.Pointer)
   666  
   667  //go:wasmimport plat/js/webext/declarativenetrequest call_OffRuleMatchedDebug
   668  //go:noescape
   669  func CallOffRuleMatchedDebug(
   670  	retPtr unsafe.Pointer,
   671  	callback js.Ref)
   672  
   673  //go:wasmimport plat/js/webext/declarativenetrequest try_OffRuleMatchedDebug
   674  //go:noescape
   675  func TryOffRuleMatchedDebug(
   676  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   677  	callback js.Ref) (ok js.Ref)
   678  
   679  //go:wasmimport plat/js/webext/declarativenetrequest has_HasOnRuleMatchedDebug
   680  //go:noescape
   681  func HasFuncHasOnRuleMatchedDebug() js.Ref
   682  
   683  //go:wasmimport plat/js/webext/declarativenetrequest func_HasOnRuleMatchedDebug
   684  //go:noescape
   685  func FuncHasOnRuleMatchedDebug(fn unsafe.Pointer)
   686  
   687  //go:wasmimport plat/js/webext/declarativenetrequest call_HasOnRuleMatchedDebug
   688  //go:noescape
   689  func CallHasOnRuleMatchedDebug(
   690  	retPtr unsafe.Pointer,
   691  	callback js.Ref)
   692  
   693  //go:wasmimport plat/js/webext/declarativenetrequest try_HasOnRuleMatchedDebug
   694  //go:noescape
   695  func TryHasOnRuleMatchedDebug(
   696  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   697  	callback js.Ref) (ok js.Ref)
   698  
   699  //go:wasmimport plat/js/webext/declarativenetrequest has_SetExtensionActionOptions
   700  //go:noescape
   701  func HasFuncSetExtensionActionOptions() js.Ref
   702  
   703  //go:wasmimport plat/js/webext/declarativenetrequest func_SetExtensionActionOptions
   704  //go:noescape
   705  func FuncSetExtensionActionOptions(fn unsafe.Pointer)
   706  
   707  //go:wasmimport plat/js/webext/declarativenetrequest call_SetExtensionActionOptions
   708  //go:noescape
   709  func CallSetExtensionActionOptions(
   710  	retPtr unsafe.Pointer,
   711  	options unsafe.Pointer)
   712  
   713  //go:wasmimport plat/js/webext/declarativenetrequest try_SetExtensionActionOptions
   714  //go:noescape
   715  func TrySetExtensionActionOptions(
   716  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   717  	options unsafe.Pointer) (ok js.Ref)
   718  
   719  //go:wasmimport plat/js/webext/declarativenetrequest has_TestMatchOutcome
   720  //go:noescape
   721  func HasFuncTestMatchOutcome() js.Ref
   722  
   723  //go:wasmimport plat/js/webext/declarativenetrequest func_TestMatchOutcome
   724  //go:noescape
   725  func FuncTestMatchOutcome(fn unsafe.Pointer)
   726  
   727  //go:wasmimport plat/js/webext/declarativenetrequest call_TestMatchOutcome
   728  //go:noescape
   729  func CallTestMatchOutcome(
   730  	retPtr unsafe.Pointer,
   731  	request unsafe.Pointer)
   732  
   733  //go:wasmimport plat/js/webext/declarativenetrequest try_TestMatchOutcome
   734  //go:noescape
   735  func TryTestMatchOutcome(
   736  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   737  	request unsafe.Pointer) (ok js.Ref)
   738  
   739  //go:wasmimport plat/js/webext/declarativenetrequest has_UpdateDynamicRules
   740  //go:noescape
   741  func HasFuncUpdateDynamicRules() js.Ref
   742  
   743  //go:wasmimport plat/js/webext/declarativenetrequest func_UpdateDynamicRules
   744  //go:noescape
   745  func FuncUpdateDynamicRules(fn unsafe.Pointer)
   746  
   747  //go:wasmimport plat/js/webext/declarativenetrequest call_UpdateDynamicRules
   748  //go:noescape
   749  func CallUpdateDynamicRules(
   750  	retPtr unsafe.Pointer,
   751  	options unsafe.Pointer)
   752  
   753  //go:wasmimport plat/js/webext/declarativenetrequest try_UpdateDynamicRules
   754  //go:noescape
   755  func TryUpdateDynamicRules(
   756  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   757  	options unsafe.Pointer) (ok js.Ref)
   758  
   759  //go:wasmimport plat/js/webext/declarativenetrequest has_UpdateEnabledRulesets
   760  //go:noescape
   761  func HasFuncUpdateEnabledRulesets() js.Ref
   762  
   763  //go:wasmimport plat/js/webext/declarativenetrequest func_UpdateEnabledRulesets
   764  //go:noescape
   765  func FuncUpdateEnabledRulesets(fn unsafe.Pointer)
   766  
   767  //go:wasmimport plat/js/webext/declarativenetrequest call_UpdateEnabledRulesets
   768  //go:noescape
   769  func CallUpdateEnabledRulesets(
   770  	retPtr unsafe.Pointer,
   771  	options unsafe.Pointer)
   772  
   773  //go:wasmimport plat/js/webext/declarativenetrequest try_UpdateEnabledRulesets
   774  //go:noescape
   775  func TryUpdateEnabledRulesets(
   776  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   777  	options unsafe.Pointer) (ok js.Ref)
   778  
   779  //go:wasmimport plat/js/webext/declarativenetrequest has_UpdateSessionRules
   780  //go:noescape
   781  func HasFuncUpdateSessionRules() js.Ref
   782  
   783  //go:wasmimport plat/js/webext/declarativenetrequest func_UpdateSessionRules
   784  //go:noescape
   785  func FuncUpdateSessionRules(fn unsafe.Pointer)
   786  
   787  //go:wasmimport plat/js/webext/declarativenetrequest call_UpdateSessionRules
   788  //go:noescape
   789  func CallUpdateSessionRules(
   790  	retPtr unsafe.Pointer,
   791  	options unsafe.Pointer)
   792  
   793  //go:wasmimport plat/js/webext/declarativenetrequest try_UpdateSessionRules
   794  //go:noescape
   795  func TryUpdateSessionRules(
   796  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   797  	options unsafe.Pointer) (ok js.Ref)
   798  
   799  //go:wasmimport plat/js/webext/declarativenetrequest has_UpdateStaticRules
   800  //go:noescape
   801  func HasFuncUpdateStaticRules() js.Ref
   802  
   803  //go:wasmimport plat/js/webext/declarativenetrequest func_UpdateStaticRules
   804  //go:noescape
   805  func FuncUpdateStaticRules(fn unsafe.Pointer)
   806  
   807  //go:wasmimport plat/js/webext/declarativenetrequest call_UpdateStaticRules
   808  //go:noescape
   809  func CallUpdateStaticRules(
   810  	retPtr unsafe.Pointer,
   811  	options unsafe.Pointer)
   812  
   813  //go:wasmimport plat/js/webext/declarativenetrequest try_UpdateStaticRules
   814  //go:noescape
   815  func TryUpdateStaticRules(
   816  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   817  	options unsafe.Pointer) (ok js.Ref)