@typescript-deploys/pr-build 5.1.0-pr-52845-10 → 5.1.0-pr-53192-9

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.
package/lib/lib.dom.d.ts CHANGED
@@ -151,6 +151,10 @@ interface AuthenticatorSelectionCriteria {
151
151
  userVerification?: UserVerificationRequirement;
152
152
  }
153
153
 
154
+ interface AvcEncoderConfig {
155
+ format?: AvcBitstreamFormat;
156
+ }
157
+
154
158
  interface BiquadFilterOptions extends AudioNodeOptions {
155
159
  Q?: number;
156
160
  detune?: number;
@@ -169,6 +173,21 @@ interface BlobPropertyBag {
169
173
  type?: string;
170
174
  }
171
175
 
176
+ interface CSSMatrixComponentOptions {
177
+ is2D?: boolean;
178
+ }
179
+
180
+ interface CSSNumericType {
181
+ angle?: number;
182
+ flex?: number;
183
+ frequency?: number;
184
+ length?: number;
185
+ percent?: number;
186
+ percentHint?: CSSNumericBaseType;
187
+ resolution?: number;
188
+ time?: number;
189
+ }
190
+
172
191
  interface CSSStyleSheetInit {
173
192
  baseURL?: string;
174
193
  disabled?: boolean;
@@ -424,7 +443,7 @@ interface EcdsaParams extends Algorithm {
424
443
  interface EffectTiming {
425
444
  delay?: number;
426
445
  direction?: PlaybackDirection;
427
- duration?: number | string;
446
+ duration?: number | CSSNumericValue | string;
428
447
  easing?: string;
429
448
  endDelay?: number;
430
449
  fill?: FillMode;
@@ -441,6 +460,17 @@ interface ElementDefinitionOptions {
441
460
  extends?: string;
442
461
  }
443
462
 
463
+ interface EncodedVideoChunkInit {
464
+ data: BufferSource;
465
+ duration?: number;
466
+ timestamp: number;
467
+ type: EncodedVideoChunkType;
468
+ }
469
+
470
+ interface EncodedVideoChunkMetadata {
471
+ decoderConfig?: VideoDecoderConfig;
472
+ }
473
+
444
474
  interface ErrorEventInit extends EventInit {
445
475
  colno?: number;
446
476
  error?: any;
@@ -538,6 +568,13 @@ interface GainOptions extends AudioNodeOptions {
538
568
  gain?: number;
539
569
  }
540
570
 
571
+ interface GamepadEffectParameters {
572
+ duration?: number;
573
+ startDelay?: number;
574
+ strongMagnitude?: number;
575
+ weakMagnitude?: number;
576
+ }
577
+
541
578
  interface GamepadEventInit extends EventInit {
542
579
  gamepad: Gamepad;
543
580
  }
@@ -1141,6 +1178,11 @@ interface PictureInPictureEventInit extends EventInit {
1141
1178
  pictureInPictureWindow: PictureInPictureWindow;
1142
1179
  }
1143
1180
 
1181
+ interface PlaneLayout {
1182
+ offset: number;
1183
+ stride: number;
1184
+ }
1185
+
1144
1186
  interface PointerEventInit extends MouseEventInit {
1145
1187
  coalescedEvents?: PointerEvent[];
1146
1188
  height?: number;
@@ -1177,6 +1219,13 @@ interface PromiseRejectionEventInit extends EventInit {
1177
1219
  reason?: any;
1178
1220
  }
1179
1221
 
1222
+ interface PropertyDefinition {
1223
+ inherits: boolean;
1224
+ initialValue?: string;
1225
+ name: string;
1226
+ syntax?: string;
1227
+ }
1228
+
1180
1229
  interface PropertyIndexedKeyframes {
1181
1230
  composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];
1182
1231
  easing?: string | string[];
@@ -1328,6 +1377,11 @@ interface RTCIceCandidateInit {
1328
1377
  usernameFragment?: string | null;
1329
1378
  }
1330
1379
 
1380
+ interface RTCIceCandidatePair {
1381
+ local?: RTCIceCandidate;
1382
+ remote?: RTCIceCandidate;
1383
+ }
1384
+
1331
1385
  interface RTCIceCandidatePairStats extends RTCStats {
1332
1386
  availableIncomingBitrate?: number;
1333
1387
  availableOutgoingBitrate?: number;
@@ -1607,6 +1661,11 @@ interface RegistrationOptions {
1607
1661
  updateViaCache?: ServiceWorkerUpdateViaCache;
1608
1662
  }
1609
1663
 
1664
+ interface ReportingObserverOptions {
1665
+ buffered?: boolean;
1666
+ types?: string[];
1667
+ }
1668
+
1610
1669
  interface RequestInit {
1611
1670
  /** A BodyInit object or null to set request's body. */
1612
1671
  body?: BodyInit | null;
@@ -1930,6 +1989,71 @@ interface VideoConfiguration {
1930
1989
  width: number;
1931
1990
  }
1932
1991
 
1992
+ interface VideoDecoderConfig {
1993
+ codec: string;
1994
+ codedHeight?: number;
1995
+ codedWidth?: number;
1996
+ colorSpace?: VideoColorSpaceInit;
1997
+ description?: BufferSource;
1998
+ displayAspectHeight?: number;
1999
+ displayAspectWidth?: number;
2000
+ hardwareAcceleration?: HardwareAcceleration;
2001
+ optimizeForLatency?: boolean;
2002
+ }
2003
+
2004
+ interface VideoDecoderInit {
2005
+ error: WebCodecsErrorCallback;
2006
+ output: VideoFrameOutputCallback;
2007
+ }
2008
+
2009
+ interface VideoDecoderSupport {
2010
+ config?: VideoDecoderConfig;
2011
+ supported?: boolean;
2012
+ }
2013
+
2014
+ interface VideoEncoderConfig {
2015
+ alpha?: AlphaOption;
2016
+ avc?: AvcEncoderConfig;
2017
+ bitrate?: number;
2018
+ bitrateMode?: BitrateMode;
2019
+ codec: string;
2020
+ displayHeight?: number;
2021
+ displayWidth?: number;
2022
+ framerate?: number;
2023
+ hardwareAcceleration?: HardwareAcceleration;
2024
+ height: number;
2025
+ latencyMode?: LatencyMode;
2026
+ scalabilityMode?: string;
2027
+ width: number;
2028
+ }
2029
+
2030
+ interface VideoEncoderEncodeOptions {
2031
+ keyFrame?: boolean;
2032
+ }
2033
+
2034
+ interface VideoEncoderInit {
2035
+ error: WebCodecsErrorCallback;
2036
+ output: EncodedVideoChunkOutputCallback;
2037
+ }
2038
+
2039
+ interface VideoEncoderSupport {
2040
+ config?: VideoEncoderConfig;
2041
+ supported?: boolean;
2042
+ }
2043
+
2044
+ interface VideoFrameBufferInit {
2045
+ codedHeight: number;
2046
+ codedWidth: number;
2047
+ colorSpace?: VideoColorSpaceInit;
2048
+ displayHeight?: number;
2049
+ displayWidth?: number;
2050
+ duration?: number;
2051
+ format: VideoPixelFormat;
2052
+ layout?: PlaneLayout[];
2053
+ timestamp: number;
2054
+ visibleRect?: DOMRectInit;
2055
+ }
2056
+
1933
2057
  interface VideoFrameCallbackMetadata {
1934
2058
  captureTime?: DOMHighResTimeStamp;
1935
2059
  expectedDisplayTime: DOMHighResTimeStamp;
@@ -1943,6 +2067,20 @@ interface VideoFrameCallbackMetadata {
1943
2067
  width: number;
1944
2068
  }
1945
2069
 
2070
+ interface VideoFrameCopyToOptions {
2071
+ layout?: PlaneLayout[];
2072
+ rect?: DOMRectInit;
2073
+ }
2074
+
2075
+ interface VideoFrameInit {
2076
+ alpha?: AlphaOption;
2077
+ displayHeight?: number;
2078
+ displayWidth?: number;
2079
+ duration?: number;
2080
+ timestamp?: number;
2081
+ visibleRect?: DOMRectInit;
2082
+ }
2083
+
1946
2084
  interface WaveShaperOptions extends AudioNodeOptions {
1947
2085
  curve?: number[] | Float32Array;
1948
2086
  oversample?: OverSampleType;
@@ -2226,7 +2364,7 @@ declare var AnimationPlaybackEvent: {
2226
2364
  };
2227
2365
 
2228
2366
  interface AnimationTimeline {
2229
- readonly currentTime: number | null;
2367
+ readonly currentTime: CSSNumberish | null;
2230
2368
  }
2231
2369
 
2232
2370
  declare var AnimationTimeline: {
@@ -2749,6 +2887,14 @@ declare var CSSGroupingRule: {
2749
2887
  new(): CSSGroupingRule;
2750
2888
  };
2751
2889
 
2890
+ interface CSSImageValue extends CSSStyleValue {
2891
+ }
2892
+
2893
+ declare var CSSImageValue: {
2894
+ prototype: CSSImageValue;
2895
+ new(): CSSImageValue;
2896
+ };
2897
+
2752
2898
  interface CSSImportRule extends CSSRule {
2753
2899
  readonly href: string;
2754
2900
  readonly layerName: string | null;
@@ -2787,6 +2933,15 @@ declare var CSSKeyframesRule: {
2787
2933
  new(): CSSKeyframesRule;
2788
2934
  };
2789
2935
 
2936
+ interface CSSKeywordValue extends CSSStyleValue {
2937
+ value: string;
2938
+ }
2939
+
2940
+ declare var CSSKeywordValue: {
2941
+ prototype: CSSKeywordValue;
2942
+ new(value: string): CSSKeywordValue;
2943
+ };
2944
+
2790
2945
  interface CSSLayerBlockRule extends CSSGroupingRule {
2791
2946
  readonly name: string;
2792
2947
  }
@@ -2805,6 +2960,89 @@ declare var CSSLayerStatementRule: {
2805
2960
  new(): CSSLayerStatementRule;
2806
2961
  };
2807
2962
 
2963
+ interface CSSMathClamp extends CSSMathValue {
2964
+ readonly lower: CSSNumericValue;
2965
+ readonly upper: CSSNumericValue;
2966
+ readonly value: CSSNumericValue;
2967
+ }
2968
+
2969
+ declare var CSSMathClamp: {
2970
+ prototype: CSSMathClamp;
2971
+ new(lower: CSSNumberish, value: CSSNumberish, upper: CSSNumberish): CSSMathClamp;
2972
+ };
2973
+
2974
+ interface CSSMathInvert extends CSSMathValue {
2975
+ readonly value: CSSNumericValue;
2976
+ }
2977
+
2978
+ declare var CSSMathInvert: {
2979
+ prototype: CSSMathInvert;
2980
+ new(arg: CSSNumberish): CSSMathInvert;
2981
+ };
2982
+
2983
+ interface CSSMathMax extends CSSMathValue {
2984
+ readonly values: CSSNumericArray;
2985
+ }
2986
+
2987
+ declare var CSSMathMax: {
2988
+ prototype: CSSMathMax;
2989
+ new(...args: CSSNumberish[]): CSSMathMax;
2990
+ };
2991
+
2992
+ interface CSSMathMin extends CSSMathValue {
2993
+ readonly values: CSSNumericArray;
2994
+ }
2995
+
2996
+ declare var CSSMathMin: {
2997
+ prototype: CSSMathMin;
2998
+ new(...args: CSSNumberish[]): CSSMathMin;
2999
+ };
3000
+
3001
+ interface CSSMathNegate extends CSSMathValue {
3002
+ readonly value: CSSNumericValue;
3003
+ }
3004
+
3005
+ declare var CSSMathNegate: {
3006
+ prototype: CSSMathNegate;
3007
+ new(arg: CSSNumberish): CSSMathNegate;
3008
+ };
3009
+
3010
+ interface CSSMathProduct extends CSSMathValue {
3011
+ readonly values: CSSNumericArray;
3012
+ }
3013
+
3014
+ declare var CSSMathProduct: {
3015
+ prototype: CSSMathProduct;
3016
+ new(...args: CSSNumberish[]): CSSMathProduct;
3017
+ };
3018
+
3019
+ interface CSSMathSum extends CSSMathValue {
3020
+ readonly values: CSSNumericArray;
3021
+ }
3022
+
3023
+ declare var CSSMathSum: {
3024
+ prototype: CSSMathSum;
3025
+ new(...args: CSSNumberish[]): CSSMathSum;
3026
+ };
3027
+
3028
+ interface CSSMathValue extends CSSNumericValue {
3029
+ readonly operator: CSSMathOperator;
3030
+ }
3031
+
3032
+ declare var CSSMathValue: {
3033
+ prototype: CSSMathValue;
3034
+ new(): CSSMathValue;
3035
+ };
3036
+
3037
+ interface CSSMatrixComponent extends CSSTransformComponent {
3038
+ matrix: DOMMatrix;
3039
+ }
3040
+
3041
+ declare var CSSMatrixComponent: {
3042
+ prototype: CSSMatrixComponent;
3043
+ new(matrix: DOMMatrixReadOnly, options?: CSSMatrixComponentOptions): CSSMatrixComponent;
3044
+ };
3045
+
2808
3046
  /** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */
2809
3047
  interface CSSMediaRule extends CSSConditionRule {
2810
3048
  readonly media: MediaList;
@@ -2826,6 +3064,36 @@ declare var CSSNamespaceRule: {
2826
3064
  new(): CSSNamespaceRule;
2827
3065
  };
2828
3066
 
3067
+ interface CSSNumericArray {
3068
+ readonly length: number;
3069
+ forEach(callbackfn: (value: CSSNumericValue, key: number, parent: CSSNumericArray) => void, thisArg?: any): void;
3070
+ [index: number]: CSSNumericValue;
3071
+ }
3072
+
3073
+ declare var CSSNumericArray: {
3074
+ prototype: CSSNumericArray;
3075
+ new(): CSSNumericArray;
3076
+ };
3077
+
3078
+ interface CSSNumericValue extends CSSStyleValue {
3079
+ add(...values: CSSNumberish[]): CSSNumericValue;
3080
+ div(...values: CSSNumberish[]): CSSNumericValue;
3081
+ equals(...value: CSSNumberish[]): boolean;
3082
+ max(...values: CSSNumberish[]): CSSNumericValue;
3083
+ min(...values: CSSNumberish[]): CSSNumericValue;
3084
+ mul(...values: CSSNumberish[]): CSSNumericValue;
3085
+ sub(...values: CSSNumberish[]): CSSNumericValue;
3086
+ to(unit: string): CSSUnitValue;
3087
+ toSum(...units: string[]): CSSMathSum;
3088
+ type(): CSSNumericType;
3089
+ }
3090
+
3091
+ declare var CSSNumericValue: {
3092
+ prototype: CSSNumericValue;
3093
+ new(): CSSNumericValue;
3094
+ parse(cssText: string): CSSNumericValue;
3095
+ };
3096
+
2829
3097
  /** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */
2830
3098
  interface CSSPageRule extends CSSGroupingRule {
2831
3099
  selectorText: string;
@@ -2837,6 +3105,40 @@ declare var CSSPageRule: {
2837
3105
  new(): CSSPageRule;
2838
3106
  };
2839
3107
 
3108
+ interface CSSPerspective extends CSSTransformComponent {
3109
+ length: CSSPerspectiveValue;
3110
+ }
3111
+
3112
+ declare var CSSPerspective: {
3113
+ prototype: CSSPerspective;
3114
+ new(length: CSSPerspectiveValue): CSSPerspective;
3115
+ };
3116
+
3117
+ interface CSSPropertyRule extends CSSRule {
3118
+ readonly inherits: boolean;
3119
+ readonly initialValue: string | null;
3120
+ readonly name: string;
3121
+ readonly syntax: string;
3122
+ }
3123
+
3124
+ declare var CSSPropertyRule: {
3125
+ prototype: CSSPropertyRule;
3126
+ new(): CSSPropertyRule;
3127
+ };
3128
+
3129
+ interface CSSRotate extends CSSTransformComponent {
3130
+ angle: CSSNumericValue;
3131
+ x: CSSNumberish;
3132
+ y: CSSNumberish;
3133
+ z: CSSNumberish;
3134
+ }
3135
+
3136
+ declare var CSSRotate: {
3137
+ prototype: CSSRotate;
3138
+ new(angle: CSSNumericValue): CSSRotate;
3139
+ new(x: CSSNumberish, y: CSSNumberish, z: CSSNumberish, angle: CSSNumericValue): CSSRotate;
3140
+ };
3141
+
2840
3142
  /** A single CSS rule. There are several types of rules, listed in the Type constants section below. */
2841
3143
  interface CSSRule {
2842
3144
  cssText: string;
@@ -2883,6 +3185,45 @@ declare var CSSRuleList: {
2883
3185
  new(): CSSRuleList;
2884
3186
  };
2885
3187
 
3188
+ interface CSSScale extends CSSTransformComponent {
3189
+ x: CSSNumberish;
3190
+ y: CSSNumberish;
3191
+ z: CSSNumberish;
3192
+ }
3193
+
3194
+ declare var CSSScale: {
3195
+ prototype: CSSScale;
3196
+ new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
3197
+ };
3198
+
3199
+ interface CSSSkew extends CSSTransformComponent {
3200
+ ax: CSSNumericValue;
3201
+ ay: CSSNumericValue;
3202
+ }
3203
+
3204
+ declare var CSSSkew: {
3205
+ prototype: CSSSkew;
3206
+ new(ax: CSSNumericValue, ay: CSSNumericValue): CSSSkew;
3207
+ };
3208
+
3209
+ interface CSSSkewX extends CSSTransformComponent {
3210
+ ax: CSSNumericValue;
3211
+ }
3212
+
3213
+ declare var CSSSkewX: {
3214
+ prototype: CSSSkewX;
3215
+ new(ax: CSSNumericValue): CSSSkewX;
3216
+ };
3217
+
3218
+ interface CSSSkewY extends CSSTransformComponent {
3219
+ ay: CSSNumericValue;
3220
+ }
3221
+
3222
+ declare var CSSSkewY: {
3223
+ prototype: CSSSkewY;
3224
+ new(ay: CSSNumericValue): CSSSkewY;
3225
+ };
3226
+
2886
3227
  /** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */
2887
3228
  interface CSSStyleDeclaration {
2888
3229
  accentColor: string;
@@ -3016,7 +3357,6 @@ interface CSSStyleDeclaration {
3016
3357
  containerName: string;
3017
3358
  containerType: string;
3018
3359
  content: string;
3019
- contentVisibility: string;
3020
3360
  counterIncrement: string;
3021
3361
  counterReset: string;
3022
3362
  counterSet: string;
@@ -3052,6 +3392,9 @@ interface CSSStyleDeclaration {
3052
3392
  fontStretch: string;
3053
3393
  fontStyle: string;
3054
3394
  fontSynthesis: string;
3395
+ fontSynthesisSmallCaps: string;
3396
+ fontSynthesisStyle: string;
3397
+ fontSynthesisWeight: string;
3055
3398
  fontVariant: string;
3056
3399
  fontVariantAlternates: string;
3057
3400
  fontVariantCaps: string;
@@ -3444,6 +3787,7 @@ declare var CSSStyleDeclaration: {
3444
3787
  interface CSSStyleRule extends CSSRule {
3445
3788
  selectorText: string;
3446
3789
  readonly style: CSSStyleDeclaration;
3790
+ readonly styleMap: StylePropertyMap;
3447
3791
  }
3448
3792
 
3449
3793
  declare var CSSStyleRule: {
@@ -3472,6 +3816,17 @@ declare var CSSStyleSheet: {
3472
3816
  new(options?: CSSStyleSheetInit): CSSStyleSheet;
3473
3817
  };
3474
3818
 
3819
+ interface CSSStyleValue {
3820
+ toString(): string;
3821
+ }
3822
+
3823
+ declare var CSSStyleValue: {
3824
+ prototype: CSSStyleValue;
3825
+ new(): CSSStyleValue;
3826
+ parse(property: string, cssText: string): CSSStyleValue;
3827
+ parseAll(property: string, cssText: string): CSSStyleValue[];
3828
+ };
3829
+
3475
3830
  /** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */
3476
3831
  interface CSSSupportsRule extends CSSConditionRule {
3477
3832
  }
@@ -3481,6 +3836,30 @@ declare var CSSSupportsRule: {
3481
3836
  new(): CSSSupportsRule;
3482
3837
  };
3483
3838
 
3839
+ interface CSSTransformComponent {
3840
+ is2D: boolean;
3841
+ toMatrix(): DOMMatrix;
3842
+ toString(): string;
3843
+ }
3844
+
3845
+ declare var CSSTransformComponent: {
3846
+ prototype: CSSTransformComponent;
3847
+ new(): CSSTransformComponent;
3848
+ };
3849
+
3850
+ interface CSSTransformValue extends CSSStyleValue {
3851
+ readonly is2D: boolean;
3852
+ readonly length: number;
3853
+ toMatrix(): DOMMatrix;
3854
+ forEach(callbackfn: (value: CSSTransformComponent, key: number, parent: CSSTransformValue) => void, thisArg?: any): void;
3855
+ [index: number]: CSSTransformComponent;
3856
+ }
3857
+
3858
+ declare var CSSTransformValue: {
3859
+ prototype: CSSTransformValue;
3860
+ new(transforms: CSSTransformComponent[]): CSSTransformValue;
3861
+ };
3862
+
3484
3863
  interface CSSTransition extends Animation {
3485
3864
  readonly transitionProperty: string;
3486
3865
  addEventListener<K extends keyof AnimationEventMap>(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -3494,6 +3873,48 @@ declare var CSSTransition: {
3494
3873
  new(): CSSTransition;
3495
3874
  };
3496
3875
 
3876
+ interface CSSTranslate extends CSSTransformComponent {
3877
+ x: CSSNumericValue;
3878
+ y: CSSNumericValue;
3879
+ z: CSSNumericValue;
3880
+ }
3881
+
3882
+ declare var CSSTranslate: {
3883
+ prototype: CSSTranslate;
3884
+ new(x: CSSNumericValue, y: CSSNumericValue, z?: CSSNumericValue): CSSTranslate;
3885
+ };
3886
+
3887
+ interface CSSUnitValue extends CSSNumericValue {
3888
+ readonly unit: string;
3889
+ value: number;
3890
+ }
3891
+
3892
+ declare var CSSUnitValue: {
3893
+ prototype: CSSUnitValue;
3894
+ new(value: number, unit: string): CSSUnitValue;
3895
+ };
3896
+
3897
+ interface CSSUnparsedValue extends CSSStyleValue {
3898
+ readonly length: number;
3899
+ forEach(callbackfn: (value: CSSUnparsedSegment, key: number, parent: CSSUnparsedValue) => void, thisArg?: any): void;
3900
+ [index: number]: CSSUnparsedSegment;
3901
+ }
3902
+
3903
+ declare var CSSUnparsedValue: {
3904
+ prototype: CSSUnparsedValue;
3905
+ new(members: CSSUnparsedSegment[]): CSSUnparsedValue;
3906
+ };
3907
+
3908
+ interface CSSVariableReferenceValue {
3909
+ readonly fallback: CSSUnparsedValue | null;
3910
+ variable: string;
3911
+ }
3912
+
3913
+ declare var CSSVariableReferenceValue: {
3914
+ prototype: CSSVariableReferenceValue;
3915
+ new(variable: string, fallback?: CSSUnparsedValue | null): CSSVariableReferenceValue;
3916
+ };
3917
+
3497
3918
  /**
3498
3919
  * Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec.
3499
3920
  * Available only in secure contexts.
@@ -3836,6 +4257,14 @@ declare var CompositionEvent: {
3836
4257
  new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent;
3837
4258
  };
3838
4259
 
4260
+ interface CompressionStream extends GenericTransformStream {
4261
+ }
4262
+
4263
+ declare var CompressionStream: {
4264
+ prototype: CompressionStream;
4265
+ new(format: string): CompressionStream;
4266
+ };
4267
+
3839
4268
  interface ConstantSourceNode extends AudioScheduledSourceNode {
3840
4269
  readonly offset: AudioParam;
3841
4270
  addEventListener<K extends keyof AudioScheduledSourceNodeEventMap>(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -4129,7 +4558,6 @@ declare var DOMMatrixReadOnly: {
4129
4558
  fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly;
4130
4559
  fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly;
4131
4560
  fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly;
4132
- toString(): string;
4133
4561
  };
4134
4562
 
4135
4563
  /** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */
@@ -4411,6 +4839,14 @@ declare var DataTransferItemList: {
4411
4839
  new(): DataTransferItemList;
4412
4840
  };
4413
4841
 
4842
+ interface DecompressionStream extends GenericTransformStream {
4843
+ }
4844
+
4845
+ declare var DecompressionStream: {
4846
+ prototype: DecompressionStream;
4847
+ new(format: string): DecompressionStream;
4848
+ };
4849
+
4414
4850
  /** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */
4415
4851
  interface DelayNode extends AudioNode {
4416
4852
  readonly delayTime: AudioParam;
@@ -5078,6 +5514,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
5078
5514
  closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
5079
5515
  closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
5080
5516
  closest<E extends Element = Element>(selectors: string): E | null;
5517
+ computedStyleMap(): StylePropertyMapReadOnly;
5081
5518
  /** Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */
5082
5519
  getAttribute(qualifiedName: string): string | null;
5083
5520
  /** Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */
@@ -5159,6 +5596,7 @@ declare var Element: {
5159
5596
  };
5160
5597
 
5161
5598
  interface ElementCSSInlineStyle {
5599
+ readonly attributeStyleMap: StylePropertyMap;
5162
5600
  readonly style: CSSStyleDeclaration;
5163
5601
  }
5164
5602
 
@@ -5201,6 +5639,19 @@ declare var ElementInternals: {
5201
5639
  new(): ElementInternals;
5202
5640
  };
5203
5641
 
5642
+ interface EncodedVideoChunk {
5643
+ readonly byteLength: number;
5644
+ readonly duration: number | null;
5645
+ readonly timestamp: number;
5646
+ readonly type: EncodedVideoChunkType;
5647
+ copyTo(destination: BufferSource): void;
5648
+ }
5649
+
5650
+ declare var EncodedVideoChunk: {
5651
+ prototype: EncodedVideoChunk;
5652
+ new(init: EncodedVideoChunkInit): EncodedVideoChunk;
5653
+ };
5654
+
5204
5655
  /** Events providing information related to errors in scripts or in files. */
5205
5656
  interface ErrorEvent extends Event {
5206
5657
  readonly colno: number;
@@ -5605,7 +6056,7 @@ interface FormData {
5605
6056
 
5606
6057
  declare var FormData: {
5607
6058
  prototype: FormData;
5608
- new(form?: HTMLFormElement): FormData;
6059
+ new(form?: HTMLFormElement, submitter?: HTMLElement | null): FormData;
5609
6060
  };
5610
6061
 
5611
6062
  interface FormDataEvent extends Event {
@@ -5641,6 +6092,7 @@ interface Gamepad {
5641
6092
  readonly index: number;
5642
6093
  readonly mapping: GamepadMappingType;
5643
6094
  readonly timestamp: DOMHighResTimeStamp;
6095
+ readonly vibrationActuator: GamepadHapticActuator | null;
5644
6096
  }
5645
6097
 
5646
6098
  declare var Gamepad: {
@@ -5679,6 +6131,8 @@ declare var GamepadEvent: {
5679
6131
  /** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */
5680
6132
  interface GamepadHapticActuator {
5681
6133
  readonly type: GamepadHapticActuatorType;
6134
+ playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
6135
+ reset(): Promise<GamepadHapticsResult>;
5682
6136
  }
5683
6137
 
5684
6138
  declare var GamepadHapticActuator: {
@@ -6332,7 +6786,7 @@ interface HTMLButtonElement extends HTMLElement {
6332
6786
  /** Sets or retrieves the name of the object. */
6333
6787
  name: string;
6334
6788
  /** Gets the classification and default behavior of the button. */
6335
- type: string;
6789
+ type: "submit" | "reset" | "button";
6336
6790
  /** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
6337
6791
  readonly validationMessage: string;
6338
6792
  /** Returns a ValidityState object that represents the validity states of an element. */
@@ -6995,6 +7449,7 @@ interface HTMLIFrameElement extends HTMLElement {
6995
7449
  frameBorder: string;
6996
7450
  /** Sets or retrieves the height of the object. */
6997
7451
  height: string;
7452
+ loading: string;
6998
7453
  /**
6999
7454
  * Sets or retrieves a URI to a long description of the object.
7000
7455
  * @deprecated
@@ -10159,6 +10614,8 @@ interface Navigator extends NavigatorAutomationInformation, NavigatorConcurrentH
10159
10614
  readonly permissions: Permissions;
10160
10615
  /** Available only in secure contexts. */
10161
10616
  readonly serviceWorker: ServiceWorkerContainer;
10617
+ readonly userActivation: UserActivation;
10618
+ readonly wakeLock: WakeLock;
10162
10619
  /** Available only in secure contexts. */
10163
10620
  canShare(data?: ShareData): boolean;
10164
10621
  getGamepads(): (Gamepad | null)[];
@@ -11498,6 +11955,7 @@ declare var RTCIceCandidate: {
11498
11955
 
11499
11956
  interface RTCIceTransportEventMap {
11500
11957
  "gatheringstatechange": Event;
11958
+ "selectedcandidatepairchange": Event;
11501
11959
  "statechange": Event;
11502
11960
  }
11503
11961
 
@@ -11505,8 +11963,10 @@ interface RTCIceTransportEventMap {
11505
11963
  interface RTCIceTransport extends EventTarget {
11506
11964
  readonly gatheringState: RTCIceGathererState;
11507
11965
  ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
11966
+ onselectedcandidatepairchange: ((this: RTCIceTransport, ev: Event) => any) | null;
11508
11967
  onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;
11509
11968
  readonly state: RTCIceTransportState;
11969
+ getSelectedCandidatePair(): RTCIceCandidatePair | null;
11510
11970
  addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11511
11971
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11512
11972
  removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -11770,7 +12230,6 @@ declare var Range: {
11770
12230
  readonly START_TO_END: 1;
11771
12231
  readonly END_TO_END: 2;
11772
12232
  readonly END_TO_START: 3;
11773
- toString(): string;
11774
12233
  };
11775
12234
 
11776
12235
  interface ReadableByteStreamController {
@@ -11878,6 +12337,38 @@ declare var RemotePlayback: {
11878
12337
  new(): RemotePlayback;
11879
12338
  };
11880
12339
 
12340
+ interface Report {
12341
+ readonly body: ReportBody | null;
12342
+ readonly type: string;
12343
+ readonly url: string;
12344
+ toJSON(): any;
12345
+ }
12346
+
12347
+ declare var Report: {
12348
+ prototype: Report;
12349
+ new(): Report;
12350
+ };
12351
+
12352
+ interface ReportBody {
12353
+ toJSON(): any;
12354
+ }
12355
+
12356
+ declare var ReportBody: {
12357
+ prototype: ReportBody;
12358
+ new(): ReportBody;
12359
+ };
12360
+
12361
+ interface ReportingObserver {
12362
+ disconnect(): void;
12363
+ observe(): void;
12364
+ takeRecords(): ReportList;
12365
+ }
12366
+
12367
+ declare var ReportingObserver: {
12368
+ prototype: ReportingObserver;
12369
+ new(callback: ReportingObserverCallback, options?: ReportingObserverOptions): ReportingObserver;
12370
+ };
12371
+
11881
12372
  /** This Fetch API interface represents a resource request. */
11882
12373
  interface Request extends Body {
11883
12374
  /** Returns the cache mode associated with request, which is a string indicating how the request will interact with the browser's cache when fetching. */
@@ -13802,7 +14293,6 @@ interface Selection {
13802
14293
  declare var Selection: {
13803
14294
  prototype: Selection;
13804
14295
  new(): Selection;
13805
- toString(): string;
13806
14296
  };
13807
14297
 
13808
14298
  interface ServiceWorkerEventMap extends AbstractWorkerEventMap {
@@ -14217,6 +14707,31 @@ interface StyleMedia {
14217
14707
  matchMedium(mediaquery: string): boolean;
14218
14708
  }
14219
14709
 
14710
+ interface StylePropertyMap extends StylePropertyMapReadOnly {
14711
+ append(property: string, ...values: (CSSStyleValue | string)[]): void;
14712
+ clear(): void;
14713
+ delete(property: string): void;
14714
+ set(property: string, ...values: (CSSStyleValue | string)[]): void;
14715
+ }
14716
+
14717
+ declare var StylePropertyMap: {
14718
+ prototype: StylePropertyMap;
14719
+ new(): StylePropertyMap;
14720
+ };
14721
+
14722
+ interface StylePropertyMapReadOnly {
14723
+ readonly size: number;
14724
+ get(property: string): undefined | CSSStyleValue;
14725
+ getAll(property: string): CSSStyleValue[];
14726
+ has(property: string): boolean;
14727
+ forEach(callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void, thisArg?: any): void;
14728
+ }
14729
+
14730
+ declare var StylePropertyMapReadOnly: {
14731
+ prototype: StylePropertyMapReadOnly;
14732
+ new(): StylePropertyMapReadOnly;
14733
+ };
14734
+
14220
14735
  /** A single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface. */
14221
14736
  interface StyleSheet {
14222
14737
  disabled: boolean;
@@ -14726,7 +15241,16 @@ interface URLSearchParams {
14726
15241
  declare var URLSearchParams: {
14727
15242
  prototype: URLSearchParams;
14728
15243
  new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
14729
- toString(): string;
15244
+ };
15245
+
15246
+ interface UserActivation {
15247
+ readonly hasBeenActive: boolean;
15248
+ readonly isActive: boolean;
15249
+ }
15250
+
15251
+ declare var UserActivation: {
15252
+ prototype: UserActivation;
15253
+ new(): UserActivation;
14730
15254
  };
14731
15255
 
14732
15256
  interface VTTCue extends TextTrackCue {
@@ -14801,6 +15325,81 @@ declare var VideoColorSpace: {
14801
15325
  new(init?: VideoColorSpaceInit): VideoColorSpace;
14802
15326
  };
14803
15327
 
15328
+ interface VideoDecoderEventMap {
15329
+ "dequeue": Event;
15330
+ }
15331
+
15332
+ /** Available only in secure contexts. */
15333
+ interface VideoDecoder extends EventTarget {
15334
+ readonly decodeQueueSize: number;
15335
+ ondequeue: ((this: VideoDecoder, ev: Event) => any) | null;
15336
+ readonly state: CodecState;
15337
+ close(): void;
15338
+ configure(config: VideoDecoderConfig): void;
15339
+ decode(chunk: EncodedVideoChunk): void;
15340
+ flush(): Promise<void>;
15341
+ reset(): void;
15342
+ addEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15343
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
15344
+ removeEventListener<K extends keyof VideoDecoderEventMap>(type: K, listener: (this: VideoDecoder, ev: VideoDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
15345
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
15346
+ }
15347
+
15348
+ declare var VideoDecoder: {
15349
+ prototype: VideoDecoder;
15350
+ new(init: VideoDecoderInit): VideoDecoder;
15351
+ isConfigSupported(config: VideoDecoderConfig): Promise<VideoDecoderSupport>;
15352
+ };
15353
+
15354
+ interface VideoEncoderEventMap {
15355
+ "dequeue": Event;
15356
+ }
15357
+
15358
+ /** Available only in secure contexts. */
15359
+ interface VideoEncoder extends EventTarget {
15360
+ readonly encodeQueueSize: number;
15361
+ ondequeue: ((this: VideoEncoder, ev: Event) => any) | null;
15362
+ readonly state: CodecState;
15363
+ close(): void;
15364
+ configure(config: VideoEncoderConfig): void;
15365
+ encode(frame: VideoFrame, options?: VideoEncoderEncodeOptions): void;
15366
+ flush(): Promise<void>;
15367
+ reset(): void;
15368
+ addEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15369
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
15370
+ removeEventListener<K extends keyof VideoEncoderEventMap>(type: K, listener: (this: VideoEncoder, ev: VideoEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
15371
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
15372
+ }
15373
+
15374
+ declare var VideoEncoder: {
15375
+ prototype: VideoEncoder;
15376
+ new(init: VideoEncoderInit): VideoEncoder;
15377
+ isConfigSupported(config: VideoEncoderConfig): Promise<VideoEncoderSupport>;
15378
+ };
15379
+
15380
+ interface VideoFrame {
15381
+ readonly codedHeight: number;
15382
+ readonly codedRect: DOMRectReadOnly | null;
15383
+ readonly codedWidth: number;
15384
+ readonly colorSpace: VideoColorSpace;
15385
+ readonly displayHeight: number;
15386
+ readonly displayWidth: number;
15387
+ readonly duration: number | null;
15388
+ readonly format: VideoPixelFormat | null;
15389
+ readonly timestamp: number;
15390
+ readonly visibleRect: DOMRectReadOnly | null;
15391
+ allocationSize(options?: VideoFrameCopyToOptions): number;
15392
+ clone(): VideoFrame;
15393
+ close(): void;
15394
+ copyTo(destination: BufferSource, options?: VideoFrameCopyToOptions): Promise<PlaneLayout[]>;
15395
+ }
15396
+
15397
+ declare var VideoFrame: {
15398
+ prototype: VideoFrame;
15399
+ new(image: CanvasImageSource, init?: VideoFrameInit): VideoFrame;
15400
+ new(data: BufferSource, init: VideoFrameBufferInit): VideoFrame;
15401
+ };
15402
+
14804
15403
  /** Returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video. */
14805
15404
  interface VideoPlaybackQuality {
14806
15405
  /** @deprecated */
@@ -14896,6 +15495,13 @@ interface WEBGL_compressed_texture_etc1 {
14896
15495
  readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;
14897
15496
  }
14898
15497
 
15498
+ interface WEBGL_compressed_texture_pvrtc {
15499
+ readonly COMPRESSED_RGB_PVRTC_4BPPV1_IMG: 0x8C00;
15500
+ readonly COMPRESSED_RGB_PVRTC_2BPPV1_IMG: 0x8C01;
15501
+ readonly COMPRESSED_RGBA_PVRTC_4BPPV1_IMG: 0x8C02;
15502
+ readonly COMPRESSED_RGBA_PVRTC_2BPPV1_IMG: 0x8C03;
15503
+ }
15504
+
14899
15505
  /** The WEBGL_compressed_texture_s3tc extension is part of the WebGL API and exposes four S3TC compressed texture formats. */
14900
15506
  interface WEBGL_compressed_texture_s3tc {
14901
15507
  readonly COMPRESSED_RGB_S3TC_DXT1_EXT: 0x83F0;
@@ -14976,6 +15582,37 @@ interface WEBGL_multi_draw {
14976
15582
  multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
14977
15583
  }
14978
15584
 
15585
+ /** Available only in secure contexts. */
15586
+ interface WakeLock {
15587
+ request(type?: WakeLockType): Promise<WakeLockSentinel>;
15588
+ }
15589
+
15590
+ declare var WakeLock: {
15591
+ prototype: WakeLock;
15592
+ new(): WakeLock;
15593
+ };
15594
+
15595
+ interface WakeLockSentinelEventMap {
15596
+ "release": Event;
15597
+ }
15598
+
15599
+ /** Available only in secure contexts. */
15600
+ interface WakeLockSentinel extends EventTarget {
15601
+ onrelease: ((this: WakeLockSentinel, ev: Event) => any) | null;
15602
+ readonly released: boolean;
15603
+ readonly type: WakeLockType;
15604
+ release(): Promise<void>;
15605
+ addEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15606
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
15607
+ removeEventListener<K extends keyof WakeLockSentinelEventMap>(type: K, listener: (this: WakeLockSentinel, ev: WakeLockSentinelEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
15608
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
15609
+ }
15610
+
15611
+ declare var WakeLockSentinel: {
15612
+ prototype: WakeLockSentinel;
15613
+ new(): WakeLockSentinel;
15614
+ };
15615
+
14979
15616
  /** A WaveShaperNode always has exactly one input and one output. */
14980
15617
  interface WaveShaperNode extends AudioNode {
14981
15618
  curve: Float32Array | null;
@@ -16324,6 +16961,7 @@ declare var WebGLRenderingContext: {
16324
16961
 
16325
16962
  interface WebGLRenderingContextBase {
16326
16963
  readonly canvas: HTMLCanvasElement | OffscreenCanvas;
16964
+ drawingBufferColorSpace: PredefinedColorSpace;
16327
16965
  readonly drawingBufferHeight: GLsizei;
16328
16966
  readonly drawingBufferWidth: GLsizei;
16329
16967
  activeTexture(texture: GLenum): void;
@@ -16408,6 +17046,7 @@ interface WebGLRenderingContextBase {
16408
17046
  getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
16409
17047
  getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
16410
17048
  getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
17049
+ getExtension(extensionName: "WEBGL_compressed_texture_pvrtc"): WEBGL_compressed_texture_pvrtc | null;
16411
17050
  getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
16412
17051
  getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
16413
17052
  getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
@@ -17426,7 +18065,7 @@ declare var XPathEvaluator: {
17426
18065
 
17427
18066
  interface XPathEvaluatorBase {
17428
18067
  createExpression(expression: string, resolver?: XPathNSResolver | null): XPathExpression;
17429
- createNSResolver(nodeResolver: Node): XPathNSResolver;
18068
+ createNSResolver(nodeResolver: Node): Node;
17430
18069
  evaluate(expression: string, contextNode: Node, resolver?: XPathNSResolver | null, type?: number, result?: XPathResult | null): XPathResult;
17431
18070
  }
17432
18071
 
@@ -17522,9 +18161,64 @@ declare var console: Console;
17522
18161
 
17523
18162
  /** Holds useful CSS-related methods. No object with this interface are implemented: it contains only static methods and therefore is a utilitarian interface. */
17524
18163
  declare namespace CSS {
18164
+ function Hz(value: number): CSSUnitValue;
18165
+ function Q(value: number): CSSUnitValue;
18166
+ function ch(value: number): CSSUnitValue;
18167
+ function cm(value: number): CSSUnitValue;
18168
+ function cqb(value: number): CSSUnitValue;
18169
+ function cqh(value: number): CSSUnitValue;
18170
+ function cqi(value: number): CSSUnitValue;
18171
+ function cqmax(value: number): CSSUnitValue;
18172
+ function cqmin(value: number): CSSUnitValue;
18173
+ function cqw(value: number): CSSUnitValue;
18174
+ function deg(value: number): CSSUnitValue;
18175
+ function dpcm(value: number): CSSUnitValue;
18176
+ function dpi(value: number): CSSUnitValue;
18177
+ function dppx(value: number): CSSUnitValue;
18178
+ function dvb(value: number): CSSUnitValue;
18179
+ function dvh(value: number): CSSUnitValue;
18180
+ function dvi(value: number): CSSUnitValue;
18181
+ function dvmax(value: number): CSSUnitValue;
18182
+ function dvmin(value: number): CSSUnitValue;
18183
+ function dvw(value: number): CSSUnitValue;
18184
+ function em(value: number): CSSUnitValue;
17525
18185
  function escape(ident: string): string;
18186
+ function ex(value: number): CSSUnitValue;
18187
+ function fr(value: number): CSSUnitValue;
18188
+ function grad(value: number): CSSUnitValue;
18189
+ function kHz(value: number): CSSUnitValue;
18190
+ function lvb(value: number): CSSUnitValue;
18191
+ function lvh(value: number): CSSUnitValue;
18192
+ function lvi(value: number): CSSUnitValue;
18193
+ function lvmax(value: number): CSSUnitValue;
18194
+ function lvmin(value: number): CSSUnitValue;
18195
+ function lvw(value: number): CSSUnitValue;
18196
+ function mm(value: number): CSSUnitValue;
18197
+ function ms(value: number): CSSUnitValue;
18198
+ function number(value: number): CSSUnitValue;
18199
+ function pc(value: number): CSSUnitValue;
18200
+ function percent(value: number): CSSUnitValue;
18201
+ function pt(value: number): CSSUnitValue;
18202
+ function px(value: number): CSSUnitValue;
18203
+ function rad(value: number): CSSUnitValue;
18204
+ function registerProperty(definition: PropertyDefinition): void;
18205
+ function rem(value: number): CSSUnitValue;
18206
+ function s(value: number): CSSUnitValue;
17526
18207
  function supports(property: string, value: string): boolean;
17527
18208
  function supports(conditionText: string): boolean;
18209
+ function svb(value: number): CSSUnitValue;
18210
+ function svh(value: number): CSSUnitValue;
18211
+ function svi(value: number): CSSUnitValue;
18212
+ function svmax(value: number): CSSUnitValue;
18213
+ function svmin(value: number): CSSUnitValue;
18214
+ function svw(value: number): CSSUnitValue;
18215
+ function turn(value: number): CSSUnitValue;
18216
+ function vb(value: number): CSSUnitValue;
18217
+ function vh(value: number): CSSUnitValue;
18218
+ function vi(value: number): CSSUnitValue;
18219
+ function vmax(value: number): CSSUnitValue;
18220
+ function vmin(value: number): CSSUnitValue;
18221
+ function vw(value: number): CSSUnitValue;
17528
18222
  }
17529
18223
 
17530
18224
  declare namespace WebAssembly {
@@ -17672,6 +18366,10 @@ interface DecodeSuccessCallback {
17672
18366
  (decodedData: AudioBuffer): void;
17673
18367
  }
17674
18368
 
18369
+ interface EncodedVideoChunkOutputCallback {
18370
+ (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;
18371
+ }
18372
+
17675
18373
  interface ErrorCallback {
17676
18374
  (err: DOMException): void;
17677
18375
  }
@@ -17756,6 +18454,10 @@ interface RemotePlaybackAvailabilityCallback {
17756
18454
  (available: boolean): void;
17757
18455
  }
17758
18456
 
18457
+ interface ReportingObserverCallback {
18458
+ (reports: Report[], observer: ReportingObserver): void;
18459
+ }
18460
+
17759
18461
  interface ResizeObserverCallback {
17760
18462
  (entries: ResizeObserverEntry[], observer: ResizeObserver): void;
17761
18463
  }
@@ -17800,6 +18502,10 @@ interface UnderlyingSourceStartCallback<R> {
17800
18502
  (controller: ReadableStreamController<R>): any;
17801
18503
  }
17802
18504
 
18505
+ interface VideoFrameOutputCallback {
18506
+ (output: VideoFrame): void;
18507
+ }
18508
+
17803
18509
  interface VideoFrameRequestCallback {
17804
18510
  (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;
17805
18511
  }
@@ -17808,6 +18514,10 @@ interface VoidFunction {
17808
18514
  (): void;
17809
18515
  }
17810
18516
 
18517
+ interface WebCodecsErrorCallback {
18518
+ (error: DOMException): void;
18519
+ }
18520
+
17811
18521
  interface HTMLElementTagNameMap {
17812
18522
  "a": HTMLAnchorElement;
17813
18523
  "abbr": HTMLElement;
@@ -18513,8 +19223,11 @@ type BlobPart = BufferSource | Blob | string;
18513
19223
  type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
18514
19224
  type BufferSource = ArrayBufferView | ArrayBuffer;
18515
19225
  type COSEAlgorithmIdentifier = number;
18516
- type CSSNumberish = number;
18517
- type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas;
19226
+ type CSSKeywordish = string | CSSKeywordValue;
19227
+ type CSSNumberish = number | CSSNumericValue;
19228
+ type CSSPerspectiveValue = CSSNumericValue | CSSKeywordish;
19229
+ type CSSUnparsedSegment = string | CSSVariableReferenceValue;
19230
+ type CanvasImageSource = HTMLOrSVGImageElement | HTMLVideoElement | HTMLCanvasElement | ImageBitmap | OffscreenCanvas | VideoFrame;
18518
19231
  type ClipboardItemData = Promise<string | Blob>;
18519
19232
  type ClipboardItems = ClipboardItem[];
18520
19233
  type ConstrainBoolean = boolean | ConstrainBooleanParameters;
@@ -18558,15 +19271,17 @@ type ReadableStreamController<T> = ReadableStreamDefaultController<T> | Readable
18558
19271
  type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
18559
19272
  type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
18560
19273
  type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
19274
+ type ReportList = Report[];
18561
19275
  type RequestInfo = Request | string;
18562
- type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;
19276
+ type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
18563
19277
  type TimerHandler = string | Function;
18564
- type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
19278
+ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
18565
19279
  type Uint32List = Uint32Array | GLuint[];
18566
19280
  type VibratePattern = number | number[];
18567
19281
  type WindowProxy = Window;
18568
19282
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
18569
19283
  type AlignSetting = "center" | "end" | "left" | "right" | "start";
19284
+ type AlphaOption = "discard" | "keep";
18570
19285
  type AnimationPlayState = "finished" | "idle" | "paused" | "running";
18571
19286
  type AnimationReplaceState = "active" | "persisted" | "removed";
18572
19287
  type AppendMode = "segments" | "sequence";
@@ -18577,8 +19292,12 @@ type AuthenticatorAttachment = "cross-platform" | "platform";
18577
19292
  type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
18578
19293
  type AutoKeyword = "auto";
18579
19294
  type AutomationRate = "a-rate" | "k-rate";
19295
+ type AvcBitstreamFormat = "annexb" | "avc";
18580
19296
  type BinaryType = "arraybuffer" | "blob";
18581
19297
  type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
19298
+ type BitrateMode = "constant" | "variable";
19299
+ type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
19300
+ type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
18582
19301
  type CanPlayTypeResult = "" | "maybe" | "probably";
18583
19302
  type CanvasDirection = "inherit" | "ltr" | "rtl";
18584
19303
  type CanvasFillRule = "evenodd" | "nonzero";
@@ -18593,17 +19312,19 @@ type CanvasTextRendering = "auto" | "geometricPrecision" | "optimizeLegibility"
18593
19312
  type ChannelCountMode = "clamped-max" | "explicit" | "max";
18594
19313
  type ChannelInterpretation = "discrete" | "speakers";
18595
19314
  type ClientTypes = "all" | "sharedworker" | "window" | "worker";
19315
+ type CodecState = "closed" | "configured" | "unconfigured";
18596
19316
  type ColorGamut = "p3" | "rec2020" | "srgb";
18597
19317
  type ColorSpaceConversion = "default" | "none";
18598
19318
  type CompositeOperation = "accumulate" | "add" | "replace";
18599
19319
  type CompositeOperationOrAuto = "accumulate" | "add" | "auto" | "replace";
18600
- type CredentialMediationRequirement = "optional" | "required" | "silent";
19320
+ type CredentialMediationRequirement = "conditional" | "optional" | "required" | "silent";
18601
19321
  type DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";
18602
19322
  type DirectionSetting = "" | "lr" | "rl";
18603
19323
  type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
18604
19324
  type DistanceModelType = "exponential" | "inverse" | "linear";
18605
19325
  type DocumentReadyState = "complete" | "interactive" | "loading";
18606
19326
  type DocumentVisibilityState = "hidden" | "visible";
19327
+ type EncodedVideoChunkType = "delta" | "key";
18607
19328
  type EndOfStreamError = "decode" | "network";
18608
19329
  type EndingType = "native" | "transparent";
18609
19330
  type FileSystemHandleKind = "directory" | "file";
@@ -18613,8 +19334,11 @@ type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
18613
19334
  type FontFaceSetLoadStatus = "loaded" | "loading";
18614
19335
  type FullscreenNavigationUI = "auto" | "hide" | "show";
18615
19336
  type GamepadHapticActuatorType = "vibration";
19337
+ type GamepadHapticEffectType = "dual-rumble";
19338
+ type GamepadHapticsResult = "complete" | "preempted";
18616
19339
  type GamepadMappingType = "" | "standard" | "xr-standard";
18617
19340
  type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
19341
+ type HardwareAcceleration = "no-preference" | "prefer-hardware" | "prefer-software";
18618
19342
  type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
18619
19343
  type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
18620
19344
  type IDBRequestReadyState = "done" | "pending";
@@ -18627,6 +19351,7 @@ type IterationCompositeOperation = "accumulate" | "replace";
18627
19351
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
18628
19352
  type KeyType = "private" | "public" | "secret";
18629
19353
  type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
19354
+ type LatencyMode = "quality" | "realtime";
18630
19355
  type LineAlignSetting = "center" | "end" | "start";
18631
19356
  type LockMode = "exclusive" | "shared";
18632
19357
  type MIDIPortConnectionState = "closed" | "open" | "pending";
@@ -18701,7 +19426,7 @@ type ResidentKeyRequirement = "discouraged" | "preferred" | "required";
18701
19426
  type ResizeObserverBoxOptions = "border-box" | "content-box" | "device-pixel-content-box";
18702
19427
  type ResizeQuality = "high" | "low" | "medium" | "pixelated";
18703
19428
  type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
18704
- type ScrollBehavior = "auto" | "smooth";
19429
+ type ScrollBehavior = "auto" | "instant" | "smooth";
18705
19430
  type ScrollLogicalPosition = "center" | "end" | "nearest" | "start";
18706
19431
  type ScrollRestoration = "auto" | "manual";
18707
19432
  type ScrollSetting = "" | "up";
@@ -18720,7 +19445,9 @@ type UserVerificationRequirement = "discouraged" | "preferred" | "required";
18720
19445
  type VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";
18721
19446
  type VideoFacingModeEnum = "environment" | "left" | "right" | "user";
18722
19447
  type VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";
19448
+ type VideoPixelFormat = "BGRA" | "BGRX" | "I420" | "I420A" | "I422" | "I444" | "NV12" | "RGBA" | "RGBX";
18723
19449
  type VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";
19450
+ type WakeLockType = "screen";
18724
19451
  type WebGLPowerPreference = "default" | "high-performance" | "low-power";
18725
19452
  type WorkerType = "classic" | "module";
18726
19453
  type XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";