chrome-types 0.1.406 → 0.1.408

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/_all.d.ts +2 -109
  2. package/index.d.ts +2 -2
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Jan 07 2026 11:21:45 GMT+0000 (Coordinated Universal Time)
18
- // Built at 63430eaeb62bb0431b4e1b9cd67c91c51556da8e
17
+ // Generated on Wed Jan 07 2026 16:17:46 GMT+0000 (Coordinated Universal Time)
18
+ // Built at c91f575e0cb9bde5c5d1901c457703397f3ea4f0
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -1627,13 +1627,6 @@ declare namespace chrome {
1627
1627
  * To automatically remember the positions of windows you can give them ids. If a window has an id, This id is used to remember the size and position of the window whenever it is moved or resized. This size and position is then used instead of the specified bounds on subsequent opening of a window with the same id. If you need to open a window with an id at a location other than the remembered default, you can create it hidden, move it to the desired location, then show it.
1628
1628
  *
1629
1629
  * @chrome-returns-extra since Chrome 117
1630
- * @returns Called in the creating window (parent) before the load event is called in the created window (child). The parent can set fields or functions on the child usable from onload. E.g. background.js:
1631
-
1632
- `function(createdWindow) { createdWindow.contentWindow.foo = function () { }; };`
1633
-
1634
- window.js:
1635
-
1636
- `window.onload = function () { foo(); }`
1637
1630
  */
1638
1631
  export function create(
1639
1632
 
@@ -1731,7 +1724,6 @@ declare namespace chrome {
1731
1724
  * @chrome-returns-extra since Chrome 132
1732
1725
  * @param app The extension id of the app to be embedded.
1733
1726
  * @param data Optional developer specified data that the app to be embedded can use when making an embedding decision.
1734
- * @returns An optional function that's called after the embedding request is completed.
1735
1727
  */
1736
1728
  export function connect(
1737
1729
 
@@ -2252,7 +2244,6 @@ declare namespace chrome {
2252
2244
  * Get information about the Bluetooth adapter.
2253
2245
  *
2254
2246
  * @chrome-returns-extra since Chrome 91
2255
- * @returns Called with an AdapterState object describing the adapter state.
2256
2247
  */
2257
2248
  export function getAdapterState(): Promise<AdapterState>;
2258
2249
 
@@ -2274,7 +2265,6 @@ declare namespace chrome {
2274
2265
  *
2275
2266
  * @chrome-returns-extra since Chrome 91
2276
2267
  * @param deviceAddress Address of device to get.
2277
- * @returns Called with the Device object describing the device.
2278
2268
  */
2279
2269
  export function getDevice(
2280
2270
 
@@ -2303,7 +2293,6 @@ declare namespace chrome {
2303
2293
  *
2304
2294
  * @chrome-returns-extra since Chrome 91
2305
2295
  * @param filter Some criteria to filter the list of returned bluetooth devices. If the filter is not set or set to `{}`, returned device list will contain all bluetooth devices. Right now this is only supported in ChromeOS, for other platforms, a full list is returned.
2306
- * @returns Called when the search is completed.
2307
2296
  */
2308
2297
  export function getDevices(
2309
2298
 
@@ -2339,7 +2328,6 @@ declare namespace chrome {
2339
2328
  * Discovery will fail to start if this application has already called startDiscovery. Discovery can be resource intensive: stopDiscovery should be called as soon as possible.
2340
2329
  *
2341
2330
  * @chrome-returns-extra since Chrome 91
2342
- * @returns Called to indicate success or failure.
2343
2331
  */
2344
2332
  export function startDiscovery(): Promise<void>;
2345
2333
 
@@ -2357,7 +2345,6 @@ declare namespace chrome {
2357
2345
  * Stop discovery.
2358
2346
  *
2359
2347
  * @chrome-returns-extra since Chrome 91
2360
- * @returns Called to indicate success or failure.
2361
2348
  */
2362
2349
  export function stopDiscovery(): Promise<void>;
2363
2350
 
@@ -2709,7 +2696,6 @@ declare namespace chrome {
2709
2696
  * @chrome-returns-extra since Chrome 91
2710
2697
  * @param deviceAddress The Bluetooth address of the remote device to which a GATT connection should be opened.
2711
2698
  * @param properties Connection properties (optional).
2712
- * @returns Called when the connect request has completed.
2713
2699
  */
2714
2700
  export function connect(
2715
2701
 
@@ -2738,7 +2724,6 @@ declare namespace chrome {
2738
2724
  *
2739
2725
  * @chrome-returns-extra since Chrome 91
2740
2726
  * @param deviceAddress The Bluetooth address of the remote device.
2741
- * @returns Called when the disconnect request has completed.
2742
2727
  */
2743
2728
  export function disconnect(
2744
2729
 
@@ -2762,7 +2747,6 @@ declare namespace chrome {
2762
2747
  *
2763
2748
  * @chrome-returns-extra since Chrome 91
2764
2749
  * @param serviceId The instance ID of the requested GATT service.
2765
- * @returns Called with the requested Service object.
2766
2750
  */
2767
2751
  export function getService(
2768
2752
 
@@ -2788,7 +2772,6 @@ declare namespace chrome {
2788
2772
  *
2789
2773
  * @chrome-returns-extra since Chrome 91
2790
2774
  * @param service The service to create.
2791
- * @returns Called with the created services's unique ID.
2792
2775
  * @since Chrome 52
2793
2776
  */
2794
2777
  export function createService(
@@ -2818,7 +2801,6 @@ declare namespace chrome {
2818
2801
  *
2819
2802
  * @chrome-returns-extra since Chrome 91
2820
2803
  * @param deviceAddress The Bluetooth address of the remote device whose GATT services should be returned.
2821
- * @returns Called with the list of requested Service objects.
2822
2804
  */
2823
2805
  export function getServices(
2824
2806
 
@@ -2846,7 +2828,6 @@ declare namespace chrome {
2846
2828
  *
2847
2829
  * @chrome-returns-extra since Chrome 91
2848
2830
  * @param characteristicId The instance ID of the requested GATT characteristic.
2849
- * @returns Called with the requested Characteristic object.
2850
2831
  */
2851
2832
  export function getCharacteristic(
2852
2833
 
@@ -2873,7 +2854,6 @@ declare namespace chrome {
2873
2854
  * @chrome-returns-extra since Chrome 91
2874
2855
  * @param characteristic The characteristic to create.
2875
2856
  * @param serviceId ID of the service to create this characteristic for.
2876
- * @returns Called with the created characteristic's unique ID.
2877
2857
  * @since Chrome 52
2878
2858
  */
2879
2859
  export function createCharacteristic(
@@ -2906,7 +2886,6 @@ declare namespace chrome {
2906
2886
  *
2907
2887
  * @chrome-returns-extra since Chrome 91
2908
2888
  * @param serviceId The instance ID of the GATT service whose characteristics should be returned.
2909
- * @returns Called with the list of characteristics that belong to the given service.
2910
2889
  */
2911
2890
  export function getCharacteristics(
2912
2891
 
@@ -2932,7 +2911,6 @@ declare namespace chrome {
2932
2911
  *
2933
2912
  * @chrome-returns-extra since Chrome 91
2934
2913
  * @param serviceId The instance ID of the GATT service whose included services should be returned.
2935
- * @returns Called with the list of GATT services included from the given service.
2936
2914
  */
2937
2915
  export function getIncludedServices(
2938
2916
 
@@ -2958,7 +2936,6 @@ declare namespace chrome {
2958
2936
  *
2959
2937
  * @chrome-returns-extra since Chrome 91
2960
2938
  * @param descriptorId The instance ID of the requested GATT characteristic descriptor.
2961
- * @returns Called with the requested Descriptor object.
2962
2939
  */
2963
2940
  export function getDescriptor(
2964
2941
 
@@ -2985,7 +2962,6 @@ declare namespace chrome {
2985
2962
  * @chrome-returns-extra since Chrome 91
2986
2963
  * @param descriptor The descriptor to create.
2987
2964
  * @param characteristicId ID of the characteristic to create this descriptor for.
2988
- * @returns Called with the created descriptor's unique ID.
2989
2965
  * @since Chrome 52
2990
2966
  */
2991
2967
  export function createDescriptor(
@@ -3018,7 +2994,6 @@ declare namespace chrome {
3018
2994
  *
3019
2995
  * @chrome-returns-extra since Chrome 91
3020
2996
  * @param characteristicId The instance ID of the GATT characteristic whose descriptors should be returned.
3021
- * @returns Called with the list of descriptors that belong to the given characteristic.
3022
2997
  */
3023
2998
  export function getDescriptors(
3024
2999
 
@@ -3044,7 +3019,6 @@ declare namespace chrome {
3044
3019
  *
3045
3020
  * @chrome-returns-extra since Chrome 91
3046
3021
  * @param characteristicId The instance ID of the GATT characteristic whose value should be read from the remote device.
3047
- * @returns Called with the Characteristic object whose value was requested. The `value` field of the returned Characteristic object contains the result of the read request.
3048
3022
  */
3049
3023
  export function readCharacteristicValue(
3050
3024
 
@@ -3071,7 +3045,6 @@ declare namespace chrome {
3071
3045
  * @chrome-returns-extra since Chrome 91
3072
3046
  * @param characteristicId The instance ID of the GATT characteristic whose value should be written to.
3073
3047
  * @param value The value that should be sent to the remote characteristic as part of the write request.
3074
- * @returns Called when the write request has completed.
3075
3048
  */
3076
3049
  export function writeCharacteristicValue(
3077
3050
 
@@ -3101,7 +3074,6 @@ declare namespace chrome {
3101
3074
  * @chrome-returns-extra since Chrome 91
3102
3075
  * @param characteristicId The instance ID of the GATT characteristic that notifications should be enabled on.
3103
3076
  * @param properties Notification session properties (optional).
3104
- * @returns Called when the request has completed.
3105
3077
  */
3106
3078
  export function startCharacteristicNotifications(
3107
3079
 
@@ -3130,7 +3102,6 @@ declare namespace chrome {
3130
3102
  *
3131
3103
  * @chrome-returns-extra since Chrome 91
3132
3104
  * @param characteristicId The instance ID of the GATT characteristic on which this app's notification session should be stopped.
3133
- * @returns Called when the request has completed (optional).
3134
3105
  */
3135
3106
  export function stopCharacteristicNotifications(
3136
3107
 
@@ -3154,7 +3125,6 @@ declare namespace chrome {
3154
3125
  *
3155
3126
  * @chrome-returns-extra since Chrome 91
3156
3127
  * @param characteristicId The characteristic to send the notication for.
3157
- * @returns Callback called once the notification or indication has been sent successfully.
3158
3128
  * @since Chrome 52
3159
3129
  */
3160
3130
  export function notifyCharacteristicValueChanged(
@@ -3184,7 +3154,6 @@ declare namespace chrome {
3184
3154
  *
3185
3155
  * @chrome-returns-extra since Chrome 91
3186
3156
  * @param descriptorId The instance ID of the GATT characteristic descriptor whose value should be read from the remote device.
3187
- * @returns Called with the Descriptor object whose value was requested. The `value` field of the returned Descriptor object contains the result of the read request.
3188
3157
  */
3189
3158
  export function readDescriptorValue(
3190
3159
 
@@ -3211,7 +3180,6 @@ declare namespace chrome {
3211
3180
  * @chrome-returns-extra since Chrome 91
3212
3181
  * @param descriptorId The instance ID of the GATT characteristic descriptor whose value should be written to.
3213
3182
  * @param value The value that should be sent to the remote descriptor as part of the write request.
3214
- * @returns Called when the write request has completed.
3215
3183
  */
3216
3184
  export function writeDescriptorValue(
3217
3185
 
@@ -3240,7 +3208,6 @@ declare namespace chrome {
3240
3208
  *
3241
3209
  * @chrome-returns-extra since Chrome 91
3242
3210
  * @param serviceId Unique ID of a created service.
3243
- * @returns Callback with the result of the register operation.
3244
3211
  * @since Chrome 52
3245
3212
  */
3246
3213
  export function registerService(
@@ -3266,7 +3233,6 @@ declare namespace chrome {
3266
3233
  *
3267
3234
  * @chrome-returns-extra since Chrome 91
3268
3235
  * @param serviceId Unique ID of a current registered service.
3269
- * @returns Callback with the result of the register operation.
3270
3236
  * @since Chrome 52
3271
3237
  */
3272
3238
  export function unregisterService(
@@ -3292,7 +3258,6 @@ declare namespace chrome {
3292
3258
  *
3293
3259
  * @chrome-returns-extra since Chrome 91
3294
3260
  * @param serviceId Unique ID of a current registered service.
3295
- * @returns Callback called once the service is removed.
3296
3261
  * @since Chrome 52
3297
3262
  */
3298
3263
  export function removeService(
@@ -3318,7 +3283,6 @@ declare namespace chrome {
3318
3283
  *
3319
3284
  * @chrome-returns-extra since Chrome 91
3320
3285
  * @param advertisement The advertisement to advertise.
3321
- * @returns Called once the registeration is done and we've started advertising. Returns the id of the created advertisement.
3322
3286
  * @since Chrome 47
3323
3287
  */
3324
3288
  export function registerAdvertisement(
@@ -3346,7 +3310,6 @@ declare namespace chrome {
3346
3310
  *
3347
3311
  * @chrome-returns-extra since Chrome 91
3348
3312
  * @param advertisementId Id of the advertisement to unregister.
3349
- * @returns Called once the advertisement is unregistered and is no longer being advertised.
3350
3313
  * @since Chrome 47
3351
3314
  */
3352
3315
  export function unregisterAdvertisement(
@@ -3371,7 +3334,6 @@ declare namespace chrome {
3371
3334
  * Resets advertising on the current device. It will unregister and stop all existing advertisements.
3372
3335
  *
3373
3336
  * @chrome-returns-extra since Chrome 91
3374
- * @returns Called once the advertisements are reset.
3375
3337
  * @since Chrome 61
3376
3338
  */
3377
3339
  export function resetAdvertising(): Promise<void>;
@@ -3392,7 +3354,6 @@ declare namespace chrome {
3392
3354
  * @chrome-returns-extra since Chrome 91
3393
3355
  * @param minInterval Minimum interval between advertisments (in milliseconds). This cannot be lower than 20ms (as per the spec).
3394
3356
  * @param maxInterval Maximum interval between advertisments (in milliseconds). This cannot be more than 10240ms (as per the spec).
3395
- * @returns Called once the interval has been set.
3396
3357
  * @since Chrome 55
3397
3358
  */
3398
3359
  export function setAdvertisingInterval(
@@ -3637,7 +3598,6 @@ declare namespace chrome {
3637
3598
  *
3638
3599
  * @chrome-returns-extra since Chrome 91
3639
3600
  * @param properties The socket properties (optional).
3640
- * @returns Called when the socket has been created.
3641
3601
  */
3642
3602
  export function create(
3643
3603
 
@@ -3667,7 +3627,6 @@ declare namespace chrome {
3667
3627
  * @chrome-returns-extra since Chrome 91
3668
3628
  * @param socketId The socket identifier.
3669
3629
  * @param properties The properties to update.
3670
- * @returns Called when the properties are updated.
3671
3630
  */
3672
3631
  export function update(
3673
3632
 
@@ -3695,7 +3654,6 @@ declare namespace chrome {
3695
3654
  * Enables or disables a connected socket from receiving messages from its peer, or a listening socket from accepting new connections. The default value is "false". Pausing a connected socket is typically used by an application to throttle data sent by its peer. When a connected socket is paused, no `onReceive`event is raised. When a socket is connected and un-paused, `onReceive` events are raised again when messages are received. When a listening socket is paused, new connections are accepted until its backlog is full then additional connection requests are refused. `onAccept` events are raised only when the socket is un-paused.
3696
3655
  *
3697
3656
  * @chrome-returns-extra since Chrome 91
3698
- * @returns Callback from the `setPaused` method.
3699
3657
  */
3700
3658
  export function setPaused(
3701
3659
 
@@ -3723,7 +3681,6 @@ declare namespace chrome {
3723
3681
  * @param socketId The socket identifier.
3724
3682
  * @param uuid Service UUID to listen on.
3725
3683
  * @param options Optional additional options for the service.
3726
- * @returns Called when listen operation completes.
3727
3684
  */
3728
3685
  export function listenUsingRfcomm(
3729
3686
 
@@ -3759,7 +3716,6 @@ declare namespace chrome {
3759
3716
  * @param socketId The socket identifier.
3760
3717
  * @param uuid Service UUID to listen on.
3761
3718
  * @param options Optional additional options for the service.
3762
- * @returns Called when listen operation completes.
3763
3719
  */
3764
3720
  export function listenUsingL2cap(
3765
3721
 
@@ -3795,7 +3751,6 @@ declare namespace chrome {
3795
3751
  * @param socketId The socket identifier.
3796
3752
  * @param address The address of the Bluetooth device.
3797
3753
  * @param uuid The UUID of the service to connect to.
3798
- * @returns Called when the connect attempt is complete.
3799
3754
  */
3800
3755
  export function connect(
3801
3756
 
@@ -3829,7 +3784,6 @@ declare namespace chrome {
3829
3784
  *
3830
3785
  * @chrome-returns-extra since Chrome 91
3831
3786
  * @param socketId The socket identifier.
3832
- * @returns Called when the disconnect attempt is complete.
3833
3787
  */
3834
3788
  export function disconnect(
3835
3789
 
@@ -3853,7 +3807,6 @@ declare namespace chrome {
3853
3807
  *
3854
3808
  * @chrome-returns-extra since Chrome 91
3855
3809
  * @param socketId The socket identifier.
3856
- * @returns Called when the `close` operation completes.
3857
3810
  */
3858
3811
  export function close(
3859
3812
 
@@ -3878,7 +3831,6 @@ declare namespace chrome {
3878
3831
  * @chrome-returns-extra since Chrome 91
3879
3832
  * @param socketId The socket identifier.
3880
3833
  * @param data The data to send.
3881
- * @returns Called with the number of bytes sent.
3882
3834
  */
3883
3835
  export function send(
3884
3836
 
@@ -3912,7 +3864,6 @@ declare namespace chrome {
3912
3864
  *
3913
3865
  * @chrome-returns-extra since Chrome 91
3914
3866
  * @param socketId The socket identifier.
3915
- * @returns Called when the socket state is available.
3916
3867
  */
3917
3868
  export function getInfo(
3918
3869
 
@@ -3940,7 +3891,6 @@ declare namespace chrome {
3940
3891
  * Retrieves the list of currently opened sockets owned by the application.
3941
3892
  *
3942
3893
  * @chrome-returns-extra since Chrome 91
3943
- * @returns Called when the list of sockets is available.
3944
3894
  */
3945
3895
  export function getSockets(): Promise<SocketInfo[]>;
3946
3896
 
@@ -4492,7 +4442,6 @@ declare namespace chrome {
4492
4442
  *
4493
4443
  * @chrome-returns-extra since Chrome 117
4494
4444
  * @param options Configures how the tab should be opened.
4495
- * @returns Called when the tab was successfully created, or failed to be created. If failed, {@link runtime.lastError} will be set.
4496
4445
  */
4497
4446
  export function openTab(
4498
4447
 
@@ -19414,7 +19363,6 @@ declare namespace chrome {
19414
19363
  * Immediately issues a multicast DNS query for all service types. `callback` is invoked immediately. At a later time, queries will be sent, and any service events will be fired.
19415
19364
  *
19416
19365
  * @chrome-returns-extra since Chrome 96
19417
- * @returns Callback invoked after ForceDiscovery() has started.
19418
19366
  * @since Chrome 45
19419
19367
  */
19420
19368
  export function forceDiscovery(): Promise<void>;
@@ -21380,7 +21328,6 @@ declare namespace chrome {
21380
21328
  *
21381
21329
  * @chrome-returns-extra since Chrome 125
21382
21330
  * @param networkGuid The GUID of the network to get properties for.
21383
- * @returns Called with the network properties when received.
21384
21331
  */
21385
21332
  export function getProperties(
21386
21333
 
@@ -21406,7 +21353,6 @@ declare namespace chrome {
21406
21353
  *
21407
21354
  * @chrome-returns-extra since Chrome 125
21408
21355
  * @param networkGuid The GUID of the network to get properties for.
21409
- * @returns Called with the managed network properties when received.
21410
21356
  */
21411
21357
  export function getManagedProperties(
21412
21358
 
@@ -21432,7 +21378,6 @@ declare namespace chrome {
21432
21378
  *
21433
21379
  * @chrome-returns-extra since Chrome 125
21434
21380
  * @param networkGuid The GUID of the network to get properties for.
21435
- * @returns Called immediately with the network state properties.
21436
21381
  */
21437
21382
  export function getState(
21438
21383
 
@@ -21459,7 +21404,6 @@ declare namespace chrome {
21459
21404
  * @chrome-returns-extra since Chrome 125
21460
21405
  * @param networkGuid The GUID of the network to set properties for.
21461
21406
  * @param properties The properties to set.
21462
- * @returns Called when the operation has completed.
21463
21407
  */
21464
21408
  export function setProperties(
21465
21409
 
@@ -21493,7 +21437,6 @@ declare namespace chrome {
21493
21437
 
21494
21438
  **This option is exposed only to Chrome's Web UI.** When called by apps, `false` is the only allowed value.
21495
21439
  * @param properties The properties to configure the new network with.
21496
- * @returns Called with the GUID for the new network configuration once the network has been created.
21497
21440
  */
21498
21441
  export function createNetwork(
21499
21442
 
@@ -21530,7 +21473,6 @@ declare namespace chrome {
21530
21473
  *
21531
21474
  * @chrome-returns-extra since Chrome 125
21532
21475
  * @param networkGuid The GUID of the network to forget.
21533
- * @returns Called when the operation has completed.
21534
21476
  */
21535
21477
  export function forgetNetwork(
21536
21478
 
@@ -21556,7 +21498,6 @@ declare namespace chrome {
21556
21498
  *
21557
21499
  * @chrome-returns-extra since Chrome 125
21558
21500
  * @param filter Describes which networks to return.
21559
- * @returns Called with a dictionary of networks and their state properties when received.
21560
21501
  */
21561
21502
  export function getNetworks(
21562
21503
 
@@ -21581,7 +21522,6 @@ declare namespace chrome {
21581
21522
  * Returns states of available networking devices.
21582
21523
  *
21583
21524
  * @chrome-returns-extra since Chrome 125
21584
- * @returns Called with a list of devices and their state.
21585
21525
  */
21586
21526
  export function getDeviceStates(): Promise<DeviceStateProperties[]>;
21587
21527
 
@@ -21633,7 +21573,6 @@ declare namespace chrome {
21633
21573
  *
21634
21574
  * @chrome-returns-extra since Chrome 125
21635
21575
  * @param networkGuid The GUID of the network to connect to.
21636
- * @returns Called when the connect request has been sent. Note: the connection may not have completed. Observe {@link onNetworksChanged} to be notified when a network state changes. If the connect request immediately failed (e.g. the network is unconfigured), {@link runtime.lastError} will be set with a failure reason.
21637
21576
  */
21638
21577
  export function startConnect(
21639
21578
 
@@ -21657,7 +21596,6 @@ declare namespace chrome {
21657
21596
  *
21658
21597
  * @chrome-returns-extra since Chrome 125
21659
21598
  * @param networkGuid The GUID of the network to disconnect from.
21660
- * @returns Called when the disconnect request has been sent. See note for {@link startConnect}.
21661
21599
  */
21662
21600
  export function startDisconnect(
21663
21601
 
@@ -21681,7 +21619,6 @@ declare namespace chrome {
21681
21619
  *
21682
21620
  * @chrome-returns-extra since Chrome 125
21683
21621
  * @param networkGuid The GUID of the network to get captive portal status for.
21684
- * @returns A callback function that returns the results of the query for network captive portal status.
21685
21622
  */
21686
21623
  export function getCaptivePortalStatus(
21687
21624
 
@@ -26060,7 +25997,6 @@ declare namespace chrome {
26060
25997
  * Returns information about available serial devices on the system. The list is regenerated each time this method is called.
26061
25998
  *
26062
25999
  * @chrome-returns-extra since Chrome 117
26063
- * @returns Called with the list of `DeviceInfo` objects.
26064
26000
  */
26065
26001
  export function getDevices(): Promise<DeviceInfo[]>;
26066
26002
 
@@ -26080,7 +26016,6 @@ declare namespace chrome {
26080
26016
  * @chrome-returns-extra since Chrome 117
26081
26017
  * @param path The system path of the serial port to open.
26082
26018
  * @param options Port configuration options.
26083
- * @returns Called when the connection has been opened.
26084
26019
  */
26085
26020
  export function connect(
26086
26021
 
@@ -26112,7 +26047,6 @@ declare namespace chrome {
26112
26047
  * @chrome-returns-extra since Chrome 117
26113
26048
  * @param connectionId The id of the opened connection.
26114
26049
  * @param options Port configuration options.
26115
- * @returns Called when the configuation has completed.
26116
26050
  */
26117
26051
  export function update(
26118
26052
 
@@ -26143,7 +26077,6 @@ declare namespace chrome {
26143
26077
  *
26144
26078
  * @chrome-returns-extra since Chrome 117
26145
26079
  * @param connectionId The id of the opened connection.
26146
- * @returns Called when the connection has been closed.
26147
26080
  */
26148
26081
  export function disconnect(
26149
26082
 
@@ -26170,7 +26103,6 @@ declare namespace chrome {
26170
26103
  * @chrome-returns-extra since Chrome 117
26171
26104
  * @param connectionId The id of the opened connection.
26172
26105
  * @param paused Flag to indicate whether to pause or unpause.
26173
- * @returns Called when the connection has been successfully paused or unpaused.
26174
26106
  */
26175
26107
  export function setPaused(
26176
26108
 
@@ -26199,7 +26131,6 @@ declare namespace chrome {
26199
26131
  *
26200
26132
  * @chrome-returns-extra since Chrome 117
26201
26133
  * @param connectionId The id of the opened connection.
26202
- * @returns Called with connection state information when available.
26203
26134
  */
26204
26135
  export function getInfo(
26205
26136
 
@@ -26224,7 +26155,6 @@ declare namespace chrome {
26224
26155
  * Retrieves the list of currently opened serial port connections owned by the application.
26225
26156
  *
26226
26157
  * @chrome-returns-extra since Chrome 117
26227
- * @returns Called with the list of connections when available.
26228
26158
  */
26229
26159
  export function getConnections(): Promise<ConnectionInfo[]>;
26230
26160
 
@@ -26244,7 +26174,6 @@ declare namespace chrome {
26244
26174
  * @chrome-returns-extra since Chrome 117
26245
26175
  * @param connectionId The id of the connection.
26246
26176
  * @param data The data to send.
26247
- * @returns Called when the operation has completed.
26248
26177
  */
26249
26178
  export function send(
26250
26179
 
@@ -26297,7 +26226,6 @@ declare namespace chrome {
26297
26226
  *
26298
26227
  * @chrome-returns-extra since Chrome 117
26299
26228
  * @param connectionId The id of the connection.
26300
- * @returns Called when the control signals are available.
26301
26229
  */
26302
26230
  export function getControlSignals(
26303
26231
 
@@ -26324,7 +26252,6 @@ declare namespace chrome {
26324
26252
  * @chrome-returns-extra since Chrome 117
26325
26253
  * @param connectionId The id of the connection.
26326
26254
  * @param signals The set of signal changes to send to the device.
26327
- * @returns Called once the control signals have been set.
26328
26255
  */
26329
26256
  export function setControlSignals(
26330
26257
 
@@ -27013,7 +26940,6 @@ declare namespace chrome {
27013
26940
  * @chrome-returns-extra since Chrome 121
27014
26941
  * @param type The type of socket to create. Must be `tcp` or `udp`.
27015
26942
  * @param options The socket options.
27016
- * @returns Called when the socket has been created.
27017
26943
  */
27018
26944
  export function create(
27019
26945
 
@@ -27331,7 +27257,6 @@ declare namespace chrome {
27331
27257
  *
27332
27258
  * @chrome-returns-extra since Chrome 121
27333
27259
  * @param socketId The socketId.
27334
- * @returns Called when the state is available.
27335
27260
  */
27336
27261
  export function getInfo(
27337
27262
 
@@ -27356,7 +27281,6 @@ declare namespace chrome {
27356
27281
  * Retrieves information about local adapters on this system.
27357
27282
  *
27358
27283
  * @chrome-returns-extra since Chrome 121
27359
- * @returns Called when local adapter information is available.
27360
27284
  */
27361
27285
  export function getNetworkList(): Promise<NetworkInterface[]>;
27362
27286
 
@@ -27672,7 +27596,6 @@ declare namespace chrome {
27672
27596
  *
27673
27597
  * @chrome-returns-extra since Chrome 121
27674
27598
  * @param properties The socket properties (optional).
27675
- * @returns Called when the socket has been created.
27676
27599
  */
27677
27600
  export function create(
27678
27601
 
@@ -27702,7 +27625,6 @@ declare namespace chrome {
27702
27625
  * @chrome-returns-extra since Chrome 121
27703
27626
  * @param socketId The socket identifier.
27704
27627
  * @param properties The properties to update.
27705
- * @returns Called when the properties are updated.
27706
27628
  */
27707
27629
  export function update(
27708
27630
 
@@ -27730,7 +27652,6 @@ declare namespace chrome {
27730
27652
  * Enables or disables the application from receiving messages from its peer. The default value is "false". Pausing a socket is typically used by an application to throttle data sent by its peer. When a socket is paused, no `onReceive` event is raised. When a socket is connected and un-paused, `onReceive` events are raised again when messages are received.
27731
27653
  *
27732
27654
  * @chrome-returns-extra since Chrome 121
27733
- * @returns Callback from the `setPaused` method.
27734
27655
  */
27735
27656
  export function setPaused(
27736
27657
 
@@ -27876,7 +27797,6 @@ declare namespace chrome {
27876
27797
  *
27877
27798
  * @chrome-returns-extra since Chrome 121
27878
27799
  * @param socketId The socket identifier.
27879
- * @returns Called when the disconnect attempt is complete.
27880
27800
  */
27881
27801
  export function disconnect(
27882
27802
 
@@ -27954,7 +27874,6 @@ declare namespace chrome {
27954
27874
  *
27955
27875
  * @chrome-returns-extra since Chrome 121
27956
27876
  * @param socketId The socket identifier.
27957
- * @returns Called when the `close` operation completes.
27958
27877
  */
27959
27878
  export function close(
27960
27879
 
@@ -27978,7 +27897,6 @@ declare namespace chrome {
27978
27897
  *
27979
27898
  * @chrome-returns-extra since Chrome 121
27980
27899
  * @param socketId The socket identifier.
27981
- * @returns Called when the socket state is available.
27982
27900
  */
27983
27901
  export function getInfo(
27984
27902
 
@@ -28006,7 +27924,6 @@ declare namespace chrome {
28006
27924
  * Retrieves the list of currently opened sockets owned by the application.
28007
27925
  *
28008
27926
  * @chrome-returns-extra since Chrome 121
28009
- * @returns Called when the list of sockets is available.
28010
27927
  */
28011
27928
  export function getSockets(): Promise<SocketInfo[]>;
28012
27929
 
@@ -28135,7 +28052,6 @@ declare namespace chrome {
28135
28052
  *
28136
28053
  * @chrome-returns-extra since Chrome 121
28137
28054
  * @param properties The socket properties (optional).
28138
- * @returns Called when the socket has been created.
28139
28055
  */
28140
28056
  export function create(
28141
28057
 
@@ -28165,7 +28081,6 @@ declare namespace chrome {
28165
28081
  * @chrome-returns-extra since Chrome 121
28166
28082
  * @param socketId The socket identifier.
28167
28083
  * @param properties The properties to update.
28168
- * @returns Called when the properties are updated.
28169
28084
  */
28170
28085
  export function update(
28171
28086
 
@@ -28193,7 +28108,6 @@ declare namespace chrome {
28193
28108
  * Enables or disables a listening socket from accepting new connections. When paused, a listening socket accepts new connections until its backlog (see `listen` function) is full then refuses additional connection requests. `onAccept` events are raised only when the socket is un-paused.
28194
28109
  *
28195
28110
  * @chrome-returns-extra since Chrome 121
28196
- * @returns Callback from the `setPaused` method.
28197
28111
  */
28198
28112
  export function setPaused(
28199
28113
 
@@ -28270,7 +28184,6 @@ declare namespace chrome {
28270
28184
  *
28271
28185
  * @chrome-returns-extra since Chrome 121
28272
28186
  * @param socketId The socket identifier.
28273
- * @returns Called when the disconnect attempt is complete.
28274
28187
  */
28275
28188
  export function disconnect(
28276
28189
 
@@ -28294,7 +28207,6 @@ declare namespace chrome {
28294
28207
  *
28295
28208
  * @chrome-returns-extra since Chrome 121
28296
28209
  * @param socketId The socket identifier.
28297
- * @returns Called when the `close` operation completes.
28298
28210
  */
28299
28211
  export function close(
28300
28212
 
@@ -28318,7 +28230,6 @@ declare namespace chrome {
28318
28230
  *
28319
28231
  * @chrome-returns-extra since Chrome 121
28320
28232
  * @param socketId The socket identifier.
28321
- * @returns Called when the socket state is available.
28322
28233
  */
28323
28234
  export function getInfo(
28324
28235
 
@@ -28346,7 +28257,6 @@ declare namespace chrome {
28346
28257
  * Retrieves the list of currently opened sockets owned by the application.
28347
28258
  *
28348
28259
  * @chrome-returns-extra since Chrome 121
28349
- * @returns Called when the list of sockets is available.
28350
28260
  */
28351
28261
  export function getSockets(): Promise<SocketInfo[]>;
28352
28262
 
@@ -28515,7 +28425,6 @@ declare namespace chrome {
28515
28425
  *
28516
28426
  * @chrome-returns-extra since Chrome 121
28517
28427
  * @param properties The socket properties (optional).
28518
- * @returns Called when the socket has been created.
28519
28428
  */
28520
28429
  export function create(
28521
28430
 
@@ -28545,7 +28454,6 @@ declare namespace chrome {
28545
28454
  * @chrome-returns-extra since Chrome 121
28546
28455
  * @param socketId The socket ID.
28547
28456
  * @param properties The properties to update.
28548
- * @returns Called when the properties are updated.
28549
28457
  */
28550
28458
  export function update(
28551
28459
 
@@ -28574,7 +28482,6 @@ declare namespace chrome {
28574
28482
  *
28575
28483
  * @chrome-returns-extra since Chrome 121
28576
28484
  * @param paused Flag to indicate whether to pause or unpause.
28577
- * @returns Called when the socket has been successfully paused or unpaused.
28578
28485
  */
28579
28486
  export function setPaused(
28580
28487
 
@@ -28688,7 +28595,6 @@ declare namespace chrome {
28688
28595
  *
28689
28596
  * @chrome-returns-extra since Chrome 121
28690
28597
  * @param socketId The socket ID.
28691
- * @returns Called when the `close` operation completes.
28692
28598
  */
28693
28599
  export function close(
28694
28600
 
@@ -28712,7 +28618,6 @@ declare namespace chrome {
28712
28618
  *
28713
28619
  * @chrome-returns-extra since Chrome 121
28714
28620
  * @param socketId The socket ID.
28715
- * @returns Called when the socket state is available.
28716
28621
  */
28717
28622
  export function getInfo(
28718
28623
 
@@ -28740,7 +28645,6 @@ declare namespace chrome {
28740
28645
  * Retrieves the list of currently opened sockets owned by the application.
28741
28646
  *
28742
28647
  * @chrome-returns-extra since Chrome 121
28743
- * @returns Called when the list of sockets is available.
28744
28648
  */
28745
28649
  export function getSockets(): Promise<SocketInfo[]>;
28746
28650
 
@@ -28854,7 +28758,6 @@ declare namespace chrome {
28854
28758
  *
28855
28759
  * @chrome-returns-extra since Chrome 121
28856
28760
  * @param socketId The socket ID.
28857
- * @returns Called with an array of strings of the result.
28858
28761
  */
28859
28762
  export function getJoinedGroups(
28860
28763
 
@@ -29316,7 +29219,6 @@ declare namespace chrome {
29316
29219
  * Note this call can fail. For example, if the user is not signed in to Chrome or if there is no network operation. To handle these errors it is important chrome.runtime.lastError is checked in the callback.
29317
29220
  *
29318
29221
  * @chrome-returns-extra since Chrome 117
29319
- * @returns A callback type for requestFileSystem.
29320
29222
  */
29321
29223
  export function requestFileSystem(): Promise<DOMFileSystem>;
29322
29224
 
@@ -29338,7 +29240,6 @@ declare namespace chrome {
29338
29240
  * Sets the default conflict resolution policy for the `'syncable'` file storage for the app. By default it is set to `'last_write_win'`. When conflict resolution policy is set to `'last_write_win'` conflicts for existing files are automatically resolved next time the file is updated. `callback` can be optionally given to know if the request has succeeded or not.
29339
29241
  *
29340
29242
  * @chrome-returns-extra since Chrome 117
29341
- * @returns A generic result callback to indicate success or failure.
29342
29243
  */
29343
29244
  export function setConflictResolutionPolicy(
29344
29245
 
@@ -29359,7 +29260,6 @@ declare namespace chrome {
29359
29260
  * Gets the current conflict resolution policy.
29360
29261
  *
29361
29262
  * @chrome-returns-extra since Chrome 117
29362
- * @returns A callback type for getConflictResolutionPolicy.
29363
29263
  */
29364
29264
  export function getConflictResolutionPolicy(): Promise<ConflictResolutionPolicy>;
29365
29265
 
@@ -29377,7 +29277,6 @@ declare namespace chrome {
29377
29277
  * Returns the current usage and quota in bytes for the `'syncable'` file storage for the app.
29378
29278
  *
29379
29279
  * @chrome-returns-extra since Chrome 117
29380
- * @returns A callback type for getUsageAndQuota.
29381
29280
  */
29382
29281
  export function getUsageAndQuota(
29383
29282
 
@@ -29400,7 +29299,6 @@ declare namespace chrome {
29400
29299
  * Returns the {@link FileStatus} for the given `fileEntry`. The status value can be `'synced'`, `'pending'` or `'conflicting'`. Note that `'conflicting'` state only happens when the service's conflict resolution policy is set to `'manual'`.
29401
29300
  *
29402
29301
  * @chrome-returns-extra since Chrome 117
29403
- * @returns A callback type for getFileStatus.
29404
29302
  */
29405
29303
  export function getFileStatus(
29406
29304
 
@@ -29423,7 +29321,6 @@ declare namespace chrome {
29423
29321
  * Returns each {@link FileStatus} for the given `fileEntry` array. Typically called with the result from dirReader.readEntries().
29424
29322
  *
29425
29323
  * @chrome-returns-extra since Chrome 117
29426
- * @returns A callback type for getFileStatuses.
29427
29324
  */
29428
29325
  export function getFileStatuses(
29429
29326
 
@@ -29446,7 +29343,6 @@ declare namespace chrome {
29446
29343
  * Returns the current sync backend status.
29447
29344
  *
29448
29345
  * @chrome-returns-extra since Chrome 117
29449
- * @returns A callback type for getServiceStatus.
29450
29346
  */
29451
29347
  export function getServiceStatus(): Promise<ServiceStatus>;
29452
29348
 
@@ -30337,7 +30233,6 @@ declare namespace chrome {
30337
30233
  * Retrieves information about local adapters on this system.
30338
30234
  *
30339
30235
  * @chrome-returns-extra since Chrome 91
30340
- * @returns Called when local adapter information is available.
30341
30236
  */
30342
30237
  export function getNetworkInterfaces(): Promise<NetworkInterface[]>;
30343
30238
 
@@ -34349,7 +34244,6 @@ declare namespace chrome {
34349
34244
  *
34350
34245
  * @chrome-returns-extra since Chrome 116
34351
34246
  * @param options Configuration of the device picker dialog box.
34352
- * @returns Invoked with a list of chosen {@link Device}s.
34353
34247
  */
34354
34248
  export function getUserSelectedDevices(
34355
34249
 
@@ -35265,7 +35159,6 @@ declare namespace chrome {
35265
35159
  *
35266
35160
  * @chrome-returns-extra since Chrome 96
35267
35161
  * @param restrictions the preferences to enabled/disabled virtual keyboard features.
35268
- * @returns Invoked with the values which were updated.
35269
35162
  */
35270
35163
  export function restrictFeatures(
35271
35164
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Wed Jan 07 2026 11:21:40 GMT+0000 (Coordinated Universal Time)
18
- // Built at 63430eaeb62bb0431b4e1b9cd67c91c51556da8e
17
+ // Generated on Wed Jan 07 2026 16:17:41 GMT+0000 (Coordinated Universal Time)
18
+ // Built at c91f575e0cb9bde5c5d1901c457703397f3ea4f0
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "1a43b8d5456684b0"
8
+ "build-hash": "10b56817e6cd2784"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.406"
19
+ "version": "0.1.408"
20
20
  }