@types/web 0.0.163 → 0.0.164

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/index.d.ts CHANGED
@@ -104,6 +104,59 @@ interface AudioContextOptions {
104
104
  sampleRate?: number;
105
105
  }
106
106
 
107
+ interface AudioDataCopyToOptions {
108
+ format?: AudioSampleFormat;
109
+ frameCount?: number;
110
+ frameOffset?: number;
111
+ planeIndex: number;
112
+ }
113
+
114
+ interface AudioDataInit {
115
+ data: BufferSource;
116
+ format: AudioSampleFormat;
117
+ numberOfChannels: number;
118
+ numberOfFrames: number;
119
+ sampleRate: number;
120
+ timestamp: number;
121
+ transfer?: ArrayBuffer[];
122
+ }
123
+
124
+ interface AudioDecoderConfig {
125
+ codec: string;
126
+ description?: BufferSource;
127
+ numberOfChannels: number;
128
+ sampleRate: number;
129
+ }
130
+
131
+ interface AudioDecoderInit {
132
+ error: WebCodecsErrorCallback;
133
+ output: AudioDataOutputCallback;
134
+ }
135
+
136
+ interface AudioDecoderSupport {
137
+ config?: AudioDecoderConfig;
138
+ supported?: boolean;
139
+ }
140
+
141
+ interface AudioEncoderConfig {
142
+ bitrate?: number;
143
+ bitrateMode?: BitrateMode;
144
+ codec: string;
145
+ numberOfChannels: number;
146
+ opus?: OpusEncoderConfig;
147
+ sampleRate: number;
148
+ }
149
+
150
+ interface AudioEncoderInit {
151
+ error: WebCodecsErrorCallback;
152
+ output: EncodedAudioChunkOutputCallback;
153
+ }
154
+
155
+ interface AudioEncoderSupport {
156
+ config?: AudioEncoderConfig;
157
+ supported?: boolean;
158
+ }
159
+
107
160
  interface AudioNodeOptions {
108
161
  channelCount?: number;
109
162
  channelCountMode?: ChannelCountMode;
@@ -489,6 +542,18 @@ interface ElementDefinitionOptions {
489
542
  extends?: string;
490
543
  }
491
544
 
545
+ interface EncodedAudioChunkInit {
546
+ data: AllowSharedBufferSource;
547
+ duration?: number;
548
+ timestamp: number;
549
+ transfer?: ArrayBuffer[];
550
+ type: EncodedAudioChunkType;
551
+ }
552
+
553
+ interface EncodedAudioChunkMetadata {
554
+ decoderConfig?: AudioDecoderConfig;
555
+ }
556
+
492
557
  interface EncodedVideoChunkInit {
493
558
  data: AllowSharedBufferSource;
494
559
  duration?: number;
@@ -1081,6 +1146,15 @@ interface OptionalEffectTiming {
1081
1146
  playbackRate?: number;
1082
1147
  }
1083
1148
 
1149
+ interface OpusEncoderConfig {
1150
+ complexity?: number;
1151
+ format?: OpusBitstreamFormat;
1152
+ frameDuration?: number;
1153
+ packetlossperc?: number;
1154
+ usedtx?: boolean;
1155
+ useinbandfec?: boolean;
1156
+ }
1157
+
1084
1158
  interface OscillatorOptions extends AudioNodeOptions {
1085
1159
  detune?: number;
1086
1160
  frequency?: number;
@@ -2089,6 +2163,7 @@ interface VideoConfiguration {
2089
2163
  colorGamut?: ColorGamut;
2090
2164
  contentType: string;
2091
2165
  framerate: number;
2166
+ hasAlphaChannel?: boolean;
2092
2167
  hdrMetadataType?: HdrMetadataType;
2093
2168
  height: number;
2094
2169
  scalabilityMode?: string;
@@ -2124,6 +2199,7 @@ interface VideoEncoderConfig {
2124
2199
  bitrate?: number;
2125
2200
  bitrateMode?: VideoEncoderBitrateMode;
2126
2201
  codec: string;
2202
+ contentHint?: string;
2127
2203
  displayHeight?: number;
2128
2204
  displayWidth?: number;
2129
2205
  framerate?: number;
@@ -2135,9 +2211,14 @@ interface VideoEncoderConfig {
2135
2211
  }
2136
2212
 
2137
2213
  interface VideoEncoderEncodeOptions {
2214
+ avc?: VideoEncoderEncodeOptionsForAvc;
2138
2215
  keyFrame?: boolean;
2139
2216
  }
2140
2217
 
2218
+ interface VideoEncoderEncodeOptionsForAvc {
2219
+ quantizer?: number | null;
2220
+ }
2221
+
2141
2222
  interface VideoEncoderInit {
2142
2223
  error: WebCodecsErrorCallback;
2143
2224
  output: EncodedVideoChunkOutputCallback;
@@ -2175,6 +2256,8 @@ interface VideoFrameCallbackMetadata {
2175
2256
  }
2176
2257
 
2177
2258
  interface VideoFrameCopyToOptions {
2259
+ colorSpace?: PredefinedColorSpace;
2260
+ format?: VideoPixelFormat;
2178
2261
  layout?: PlaneLayout[];
2179
2262
  rect?: DOMRectInit;
2180
2263
  }
@@ -2795,6 +2878,74 @@ declare var AudioContext: {
2795
2878
  new(contextOptions?: AudioContextOptions): AudioContext;
2796
2879
  };
2797
2880
 
2881
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData) */
2882
+ interface AudioData {
2883
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/duration) */
2884
+ readonly duration: number;
2885
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/format) */
2886
+ readonly format: AudioSampleFormat | null;
2887
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfChannels) */
2888
+ readonly numberOfChannels: number;
2889
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/numberOfFrames) */
2890
+ readonly numberOfFrames: number;
2891
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/sampleRate) */
2892
+ readonly sampleRate: number;
2893
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/timestamp) */
2894
+ readonly timestamp: number;
2895
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/allocationSize) */
2896
+ allocationSize(options: AudioDataCopyToOptions): number;
2897
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/clone) */
2898
+ clone(): AudioData;
2899
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/close) */
2900
+ close(): void;
2901
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioData/copyTo) */
2902
+ copyTo(destination: AllowSharedBufferSource, options: AudioDataCopyToOptions): void;
2903
+ }
2904
+
2905
+ declare var AudioData: {
2906
+ prototype: AudioData;
2907
+ new(init: AudioDataInit): AudioData;
2908
+ };
2909
+
2910
+ interface AudioDecoderEventMap {
2911
+ "dequeue": Event;
2912
+ }
2913
+
2914
+ /**
2915
+ * Available only in secure contexts.
2916
+ *
2917
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder)
2918
+ */
2919
+ interface AudioDecoder extends EventTarget {
2920
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decodeQueueSize) */
2921
+ readonly decodeQueueSize: number;
2922
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/dequeue_event) */
2923
+ ondequeue: ((this: AudioDecoder, ev: Event) => any) | null;
2924
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/state) */
2925
+ readonly state: CodecState;
2926
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/close) */
2927
+ close(): void;
2928
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/configure) */
2929
+ configure(config: AudioDecoderConfig): void;
2930
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/decode) */
2931
+ decode(chunk: EncodedAudioChunk): void;
2932
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/flush) */
2933
+ flush(): Promise<void>;
2934
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/reset) */
2935
+ reset(): void;
2936
+ addEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2937
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2938
+ removeEventListener<K extends keyof AudioDecoderEventMap>(type: K, listener: (this: AudioDecoder, ev: AudioDecoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2939
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2940
+ }
2941
+
2942
+ declare var AudioDecoder: {
2943
+ prototype: AudioDecoder;
2944
+ new(init: AudioDecoderInit): AudioDecoder;
2945
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioDecoder/isConfigSupported_static) */
2946
+ isConfigSupported(config: AudioDecoderConfig): Promise<AudioDecoderSupport>;
2947
+ };
2948
+
2798
2949
  /**
2799
2950
  * AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised.
2800
2951
  *
@@ -2810,6 +2961,45 @@ declare var AudioDestinationNode: {
2810
2961
  new(): AudioDestinationNode;
2811
2962
  };
2812
2963
 
2964
+ interface AudioEncoderEventMap {
2965
+ "dequeue": Event;
2966
+ }
2967
+
2968
+ /**
2969
+ * Available only in secure contexts.
2970
+ *
2971
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder)
2972
+ */
2973
+ interface AudioEncoder extends EventTarget {
2974
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encodeQueueSize) */
2975
+ readonly encodeQueueSize: number;
2976
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/dequeue_event) */
2977
+ ondequeue: ((this: AudioEncoder, ev: Event) => any) | null;
2978
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/state) */
2979
+ readonly state: CodecState;
2980
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/close) */
2981
+ close(): void;
2982
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/configure) */
2983
+ configure(config: AudioEncoderConfig): void;
2984
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/encode) */
2985
+ encode(data: AudioData): void;
2986
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/flush) */
2987
+ flush(): Promise<void>;
2988
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/reset) */
2989
+ reset(): void;
2990
+ addEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2991
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2992
+ removeEventListener<K extends keyof AudioEncoderEventMap>(type: K, listener: (this: AudioEncoder, ev: AudioEncoderEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2993
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2994
+ }
2995
+
2996
+ declare var AudioEncoder: {
2997
+ prototype: AudioEncoder;
2998
+ new(init: AudioEncoderInit): AudioEncoder;
2999
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioEncoder/isConfigSupported_static) */
3000
+ isConfigSupported(config: AudioEncoderConfig): Promise<AudioEncoderSupport>;
3001
+ };
3002
+
2813
3003
  /**
2814
3004
  * The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute.
2815
3005
  *
@@ -7155,6 +7345,8 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7155
7345
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/forms)
7156
7346
  */
7157
7347
  readonly forms: HTMLCollectionOf<HTMLFormElement>;
7348
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/fragmentDirective) */
7349
+ readonly fragmentDirective: FragmentDirective;
7158
7350
  /**
7159
7351
  * @deprecated
7160
7352
  *
@@ -8219,6 +8411,25 @@ declare var ElementInternals: {
8219
8411
  new(): ElementInternals;
8220
8412
  };
8221
8413
 
8414
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk) */
8415
+ interface EncodedAudioChunk {
8416
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/byteLength) */
8417
+ readonly byteLength: number;
8418
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/duration) */
8419
+ readonly duration: number | null;
8420
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/timestamp) */
8421
+ readonly timestamp: number;
8422
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/type) */
8423
+ readonly type: EncodedAudioChunkType;
8424
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedAudioChunk/copyTo) */
8425
+ copyTo(destination: AllowSharedBufferSource): void;
8426
+ }
8427
+
8428
+ declare var EncodedAudioChunk: {
8429
+ prototype: EncodedAudioChunk;
8430
+ new(init: EncodedAudioChunkInit): EncodedAudioChunk;
8431
+ };
8432
+
8222
8433
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk) */
8223
8434
  interface EncodedVideoChunk {
8224
8435
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */
@@ -8912,6 +9123,15 @@ declare var FormDataEvent: {
8912
9123
  new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;
8913
9124
  };
8914
9125
 
9126
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/FragmentDirective) */
9127
+ interface FragmentDirective {
9128
+ }
9129
+
9130
+ declare var FragmentDirective: {
9131
+ prototype: FragmentDirective;
9132
+ new(): FragmentDirective;
9133
+ };
9134
+
8915
9135
  /**
8916
9136
  * A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
8917
9137
  *
@@ -9910,7 +10130,11 @@ declare var HTMLBodyElement: {
9910
10130
  interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9911
10131
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
9912
10132
  disabled: boolean;
9913
- /** Retrieves a reference to the form that the object is embedded in. */
10133
+ /**
10134
+ * Retrieves a reference to the form that the object is embedded in.
10135
+ *
10136
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form)
10137
+ */
9914
10138
  readonly form: HTMLFormElement | null;
9915
10139
  /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
9916
10140
  formAction: string;
@@ -9938,7 +10162,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9938
10162
  type: "submit" | "reset" | "button";
9939
10163
  /** 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. */
9940
10164
  readonly validationMessage: string;
9941
- /** Returns a ValidityState object that represents the validity states of an element. */
10165
+ /**
10166
+ * Returns a ValidityState object that represents the validity states of an element.
10167
+ *
10168
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity)
10169
+ */
9942
10170
  readonly validity: ValidityState;
9943
10171
  /**
9944
10172
  * Sets or retrieves the default or selected value of the control.
@@ -9946,7 +10174,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9946
10174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
9947
10175
  */
9948
10176
  value: string;
9949
- /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
10177
+ /**
10178
+ * Returns whether an element will successfully validate based on forms validation rules and constraints.
10179
+ *
10180
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate)
10181
+ */
9950
10182
  readonly willValidate: boolean;
9951
10183
  /**
9952
10184
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -10110,7 +10342,11 @@ declare var HTMLDataElement: {
10110
10342
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)
10111
10343
  */
10112
10344
  interface HTMLDataListElement extends HTMLElement {
10113
- /** Returns an HTMLCollection of the option elements of the datalist element. */
10345
+ /**
10346
+ * Returns an HTMLCollection of the option elements of the datalist element.
10347
+ *
10348
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options)
10349
+ */
10114
10350
  readonly options: HTMLCollectionOf<HTMLOptionElement>;
10115
10351
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10116
10352
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10347,17 +10583,33 @@ interface HTMLFieldSetElement extends HTMLElement {
10347
10583
  disabled: boolean;
10348
10584
  /** Returns an HTMLCollection of the form controls in the element. */
10349
10585
  readonly elements: HTMLCollection;
10350
- /** Retrieves a reference to the form that the object is embedded in. */
10586
+ /**
10587
+ * Retrieves a reference to the form that the object is embedded in.
10588
+ *
10589
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/form)
10590
+ */
10351
10591
  readonly form: HTMLFormElement | null;
10352
10592
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
10353
10593
  name: string;
10354
- /** Returns the string "fieldset". */
10594
+ /**
10595
+ * Returns the string "fieldset".
10596
+ *
10597
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
+ */
10355
10599
  readonly type: string;
10356
10600
  /** 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. */
10357
10601
  readonly validationMessage: string;
10358
- /** Returns a ValidityState object that represents the validity states of an element. */
10602
+ /**
10603
+ * Returns a ValidityState object that represents the validity states of an element.
10604
+ *
10605
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/validity)
10606
+ */
10359
10607
  readonly validity: ValidityState;
10360
- /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
10608
+ /**
10609
+ * Returns whether an element will successfully validate based on forms validation rules and constraints.
10610
+ *
10611
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/willValidate)
10612
+ */
10361
10613
  readonly willValidate: boolean;
10362
10614
  /**
10363
10615
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -11075,17 +11327,30 @@ declare var HTMLImageElement: {
11075
11327
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
11076
11328
  */
11077
11329
  interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11078
- /** Sets or retrieves a comma-separated list of content types. */
11330
+ /**
11331
+ * Sets or retrieves a comma-separated list of content types.
11332
+ *
11333
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/accept)
11334
+ */
11079
11335
  accept: string;
11080
11336
  /**
11081
11337
  * Sets or retrieves how the object is aligned with adjacent text.
11082
11338
  * @deprecated
11083
11339
  */
11084
11340
  align: string;
11085
- /** Sets or retrieves a text alternative to the graphic. */
11341
+ /**
11342
+ * Sets or retrieves a text alternative to the graphic.
11343
+ *
11344
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/alt)
11345
+ */
11086
11346
  alt: string;
11087
- /** Specifies whether autocomplete is applied to an editable text field. */
11347
+ /**
11348
+ * Specifies whether autocomplete is applied to an editable text field.
11349
+ *
11350
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/autocomplete)
11351
+ */
11088
11352
  autocomplete: AutoFill;
11353
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
11089
11354
  capture: string;
11090
11355
  /** Sets or retrieves the state of the check box or radio button. */
11091
11356
  checked: boolean;
@@ -11106,7 +11371,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11106
11371
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)
11107
11372
  */
11108
11373
  files: FileList | null;
11109
- /** Retrieves a reference to the form that the object is embedded in. */
11374
+ /**
11375
+ * Retrieves a reference to the form that the object is embedded in.
11376
+ *
11377
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/form)
11378
+ */
11110
11379
  readonly form: HTMLFormElement | null;
11111
11380
  /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
11112
11381
  formAction: string;
@@ -11118,7 +11387,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11118
11387
  formNoValidate: boolean;
11119
11388
  /** Overrides the target attribute on a form element. */
11120
11389
  formTarget: string;
11121
- /** Sets or retrieves the height of the object. */
11390
+ /**
11391
+ * Sets or retrieves the height of the object.
11392
+ *
11393
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/height)
11394
+ */
11122
11395
  height: number;
11123
11396
  /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11124
11397
  indeterminate: boolean;
@@ -11162,12 +11435,25 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11162
11435
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
11163
11436
  */
11164
11437
  name: string;
11165
- /** Gets or sets a string containing a regular expression that the user's input must match. */
11438
+ /**
11439
+ * Gets or sets a string containing a regular expression that the user's input must match.
11440
+ *
11441
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/pattern)
11442
+ */
11166
11443
  pattern: string;
11167
- /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
11444
+ /**
11445
+ * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
11446
+ *
11447
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/placeholder)
11448
+ */
11168
11449
  placeholder: string;
11450
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */
11169
11451
  readOnly: boolean;
11170
- /** When present, marks an element that can't be submitted without a value. */
11452
+ /**
11453
+ * When present, marks an element that can't be submitted without a value.
11454
+ *
11455
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/required)
11456
+ */
11171
11457
  required: boolean;
11172
11458
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
11173
11459
  selectionDirection: "forward" | "backward" | "none" | null;
@@ -11183,8 +11469,13 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11183
11469
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
11184
11470
  */
11185
11471
  selectionStart: number | null;
11472
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */
11186
11473
  size: number;
11187
- /** The address or URL of the a media resource that is to be considered. */
11474
+ /**
11475
+ * The address or URL of the a media resource that is to be considered.
11476
+ *
11477
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/src)
11478
+ */
11188
11479
  src: string;
11189
11480
  /**
11190
11481
  * Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.
@@ -11205,7 +11496,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11205
11496
  useMap: string;
11206
11497
  /** 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. */
11207
11498
  readonly validationMessage: string;
11208
- /** Returns a ValidityState object that represents the validity states of an element. */
11499
+ /**
11500
+ * Returns a ValidityState object that represents the validity states of an element.
11501
+ *
11502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/validity)
11503
+ */
11209
11504
  readonly validity: ValidityState;
11210
11505
  /**
11211
11506
  * Returns the value of the data at the cursor's current position.
@@ -11229,9 +11524,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11229
11524
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
11230
11525
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
11231
11526
  webkitdirectory: boolean;
11232
- /** Sets or retrieves the width of the object. */
11527
+ /**
11528
+ * Sets or retrieves the width of the object.
11529
+ *
11530
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/width)
11531
+ */
11233
11532
  width: number;
11234
- /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
11533
+ /**
11534
+ * Returns whether an element will successfully validate based on forms validation rules and constraints.
11535
+ *
11536
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/willValidate)
11537
+ */
11235
11538
  readonly willValidate: boolean;
11236
11539
  /**
11237
11540
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -11357,7 +11660,11 @@ declare var HTMLLabelElement: {
11357
11660
  interface HTMLLegendElement extends HTMLElement {
11358
11661
  /** @deprecated */
11359
11662
  align: string;
11360
- /** Retrieves a reference to the form that the object is embedded in. */
11663
+ /**
11664
+ * Retrieves a reference to the form that the object is embedded in.
11665
+ *
11666
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLegendElement/form)
11667
+ */
11361
11668
  readonly form: HTMLFormElement | null;
11362
11669
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11363
11670
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12051,7 +12358,11 @@ interface HTMLOptionElement extends HTMLElement {
12051
12358
  /** Sets or retrieves the status of an option. */
12052
12359
  defaultSelected: boolean;
12053
12360
  disabled: boolean;
12054
- /** Retrieves a reference to the form that the object is embedded in. */
12361
+ /**
12362
+ * Retrieves a reference to the form that the object is embedded in.
12363
+ *
12364
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOptionElement/form)
12365
+ */
12055
12366
  readonly form: HTMLFormElement | null;
12056
12367
  /** Sets or retrieves the ordinal position of an option in a list box. */
12057
12368
  readonly index: number;
@@ -12139,15 +12450,21 @@ interface HTMLOrSVGElement {
12139
12450
  */
12140
12451
  interface HTMLOutputElement extends HTMLElement {
12141
12452
  defaultValue: string;
12453
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
12142
12454
  readonly form: HTMLFormElement | null;
12143
12455
  readonly htmlFor: DOMTokenList;
12144
12456
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
12145
12457
  readonly labels: NodeListOf<HTMLLabelElement>;
12146
12458
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
12147
12459
  name: string;
12148
- /** Returns the string "output". */
12460
+ /**
12461
+ * Returns the string "output".
12462
+ *
12463
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12464
+ */
12149
12465
  readonly type: string;
12150
12466
  readonly validationMessage: string;
12467
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12151
12468
  readonly validity: ValidityState;
12152
12469
  /**
12153
12470
  * Returns the element's current value.
@@ -12157,6 +12474,7 @@ interface HTMLOutputElement extends HTMLElement {
12157
12474
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
12158
12475
  */
12159
12476
  value: string;
12477
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */
12160
12478
  readonly willValidate: boolean;
12161
12479
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
12162
12480
  checkValidity(): boolean;
@@ -12417,9 +12735,17 @@ interface HTMLSelectElement extends HTMLElement {
12417
12735
  readonly form: HTMLFormElement | null;
12418
12736
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */
12419
12737
  readonly labels: NodeListOf<HTMLLabelElement>;
12420
- /** Sets or retrieves the number of objects in a collection. */
12738
+ /**
12739
+ * Sets or retrieves the number of objects in a collection.
12740
+ *
12741
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/length)
12742
+ */
12421
12743
  length: number;
12422
- /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */
12744
+ /**
12745
+ * Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.
12746
+ *
12747
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/multiple)
12748
+ */
12423
12749
  multiple: boolean;
12424
12750
  /**
12425
12751
  * Sets or retrieves the name of the object.
@@ -12433,7 +12759,11 @@ interface HTMLSelectElement extends HTMLElement {
12433
12759
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)
12434
12760
  */
12435
12761
  readonly options: HTMLOptionsCollection;
12436
- /** When present, marks an element that can't be submitted without a value. */
12762
+ /**
12763
+ * When present, marks an element that can't be submitted without a value.
12764
+ *
12765
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/required)
12766
+ */
12437
12767
  required: boolean;
12438
12768
  /**
12439
12769
  * Sets or retrieves the index of the selected option in a select object.
@@ -12443,7 +12773,11 @@ interface HTMLSelectElement extends HTMLElement {
12443
12773
  selectedIndex: number;
12444
12774
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */
12445
12775
  readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
12446
- /** Sets or retrieves the number of rows in the list box. */
12776
+ /**
12777
+ * Sets or retrieves the number of rows in the list box.
12778
+ *
12779
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/size)
12780
+ */
12447
12781
  size: number;
12448
12782
  /**
12449
12783
  * Retrieves the type of select control based on the value of the MULTIPLE attribute.
@@ -12453,7 +12787,11 @@ interface HTMLSelectElement extends HTMLElement {
12453
12787
  readonly type: "select-one" | "select-multiple";
12454
12788
  /** 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. */
12455
12789
  readonly validationMessage: string;
12456
- /** Returns a ValidityState object that represents the validity states of an element. */
12790
+ /**
12791
+ * Returns a ValidityState object that represents the validity states of an element.
12792
+ *
12793
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/validity)
12794
+ */
12457
12795
  readonly validity: ValidityState;
12458
12796
  /**
12459
12797
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12461,7 +12799,11 @@ interface HTMLSelectElement extends HTMLElement {
12461
12799
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
12462
12800
  */
12463
12801
  value: string;
12464
- /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
12802
+ /**
12803
+ * Returns whether an element will successfully validate based on forms validation rules and constraints.
12804
+ *
12805
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/willValidate)
12806
+ */
12465
12807
  readonly willValidate: boolean;
12466
12808
  /**
12467
12809
  * Adds an element to the areas, controlRange, or options collection.
@@ -13169,19 +13511,38 @@ declare var HTMLTemplateElement: {
13169
13511
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)
13170
13512
  */
13171
13513
  interface HTMLTextAreaElement extends HTMLElement {
13514
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
13172
13515
  autocomplete: AutoFill;
13173
- /** Sets or retrieves the width of the object. */
13516
+ /**
13517
+ * Sets or retrieves the width of the object.
13518
+ *
13519
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/cols)
13520
+ */
13174
13521
  cols: number;
13175
- /** Sets or retrieves the initial contents of the object. */
13522
+ /**
13523
+ * Sets or retrieves the initial contents of the object.
13524
+ *
13525
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/defaultValue)
13526
+ */
13176
13527
  defaultValue: string;
13177
13528
  dirName: string;
13529
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
13178
13530
  disabled: boolean;
13179
- /** Retrieves a reference to the form that the object is embedded in. */
13531
+ /**
13532
+ * Retrieves a reference to the form that the object is embedded in.
13533
+ *
13534
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/form)
13535
+ */
13180
13536
  readonly form: HTMLFormElement | null;
13181
13537
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels) */
13182
13538
  readonly labels: NodeListOf<HTMLLabelElement>;
13183
- /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */
13539
+ /**
13540
+ * Sets or retrieves the maximum number of characters that the user can enter in a text control.
13541
+ *
13542
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/maxLength)
13543
+ */
13184
13544
  maxLength: number;
13545
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */
13185
13546
  minLength: number;
13186
13547
  /**
13187
13548
  * Sets or retrieves the name of the object.
@@ -13189,19 +13550,36 @@ interface HTMLTextAreaElement extends HTMLElement {
13189
13550
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
13190
13551
  */
13191
13552
  name: string;
13192
- /** Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field. */
13553
+ /**
13554
+ * Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
13555
+ *
13556
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/placeholder)
13557
+ */
13193
13558
  placeholder: string;
13194
- /** Sets or retrieves the value indicated whether the content of the object is read-only. */
13559
+ /**
13560
+ * Sets or retrieves the value indicated whether the content of the object is read-only.
13561
+ *
13562
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/readOnly)
13563
+ */
13195
13564
  readOnly: boolean;
13196
- /** When present, marks an element that can't be submitted without a value. */
13565
+ /**
13566
+ * When present, marks an element that can't be submitted without a value.
13567
+ *
13568
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/required)
13569
+ */
13197
13570
  required: boolean;
13198
- /** Sets or retrieves the number of horizontal rows contained in the object. */
13571
+ /**
13572
+ * Sets or retrieves the number of horizontal rows contained in the object.
13573
+ *
13574
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
13575
+ */
13199
13576
  rows: number;
13200
13577
  selectionDirection: "forward" | "backward" | "none";
13201
13578
  /** Gets or sets the end position or offset of a text selection. */
13202
13579
  selectionEnd: number;
13203
13580
  /** Gets or sets the starting position or offset of a text selection. */
13204
13581
  selectionStart: number;
13582
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
13205
13583
  readonly textLength: number;
13206
13584
  /**
13207
13585
  * Retrieves the type of control.
@@ -13211,7 +13589,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13211
13589
  readonly type: string;
13212
13590
  /** 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. */
13213
13591
  readonly validationMessage: string;
13214
- /** Returns a ValidityState object that represents the validity states of an element. */
13592
+ /**
13593
+ * Returns a ValidityState object that represents the validity states of an element.
13594
+ *
13595
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/validity)
13596
+ */
13215
13597
  readonly validity: ValidityState;
13216
13598
  /**
13217
13599
  * Retrieves or sets the text in the entry field of the textArea element.
@@ -13219,9 +13601,17 @@ interface HTMLTextAreaElement extends HTMLElement {
13219
13601
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
13220
13602
  */
13221
13603
  value: string;
13222
- /** Returns whether an element will successfully validate based on forms validation rules and constraints. */
13604
+ /**
13605
+ * Returns whether an element will successfully validate based on forms validation rules and constraints.
13606
+ *
13607
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/willValidate)
13608
+ */
13223
13609
  readonly willValidate: boolean;
13224
- /** Sets or retrieves how to handle wordwrapping in the object. */
13610
+ /**
13611
+ * Sets or retrieves how to handle wordwrapping in the object.
13612
+ *
13613
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/wrap)
13614
+ */
13225
13615
  wrap: string;
13226
13616
  /**
13227
13617
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -17666,6 +18056,10 @@ declare var PluginArray: {
17666
18056
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent)
17667
18057
  */
17668
18058
  interface PointerEvent extends MouseEvent {
18059
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/altitudeAngle) */
18060
+ readonly altitudeAngle: number;
18061
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/azimuthAngle) */
18062
+ readonly azimuthAngle: number;
17669
18063
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height) */
17670
18064
  readonly height: number;
17671
18065
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary) */
@@ -22812,7 +23206,7 @@ declare var URLSearchParams: {
22812
23206
  interface UserActivation {
22813
23207
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */
22814
23208
  readonly hasBeenActive: boolean;
22815
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */
23209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive) */
22816
23210
  readonly isActive: boolean;
22817
23211
  }
22818
23212
 
@@ -26977,6 +27371,10 @@ declare namespace WebAssembly {
26977
27371
  function validate(bytes: BufferSource): boolean;
26978
27372
  }
26979
27373
 
27374
+ interface AudioDataOutputCallback {
27375
+ (output: AudioData): void;
27376
+ }
27377
+
26980
27378
  interface BlobCallback {
26981
27379
  (blob: Blob | null): void;
26982
27380
  }
@@ -26993,6 +27391,10 @@ interface DecodeSuccessCallback {
26993
27391
  (decodedData: AudioBuffer): void;
26994
27392
  }
26995
27393
 
27394
+ interface EncodedAudioChunkOutputCallback {
27395
+ (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void;
27396
+ }
27397
+
26996
27398
  interface EncodedVideoChunkOutputCallback {
26997
27399
  (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;
26998
27400
  }
@@ -28276,7 +28678,7 @@ type ReportList = Report[];
28276
28678
  type RequestInfo = Request | string;
28277
28679
  type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
28278
28680
  type TimerHandler = string | Function;
28279
- type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
28681
+ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | ArrayBuffer;
28280
28682
  type Uint32List = Uint32Array | GLuint[];
28281
28683
  type VibratePattern = number | number[];
28282
28684
  type WindowProxy = Window;
@@ -28289,6 +28691,7 @@ type AppendMode = "segments" | "sequence";
28289
28691
  type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
28290
28692
  type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
28291
28693
  type AudioContextState = "closed" | "running" | "suspended";
28694
+ type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
28292
28695
  type AuthenticatorAttachment = "cross-platform" | "platform";
28293
28696
  type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
28294
28697
  type AutoFillAddressKind = "billing" | "shipping";
@@ -28302,6 +28705,7 @@ type AutomationRate = "a-rate" | "k-rate";
28302
28705
  type AvcBitstreamFormat = "annexb" | "avc";
28303
28706
  type BinaryType = "arraybuffer" | "blob";
28304
28707
  type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
28708
+ type BitrateMode = "constant" | "variable";
28305
28709
  type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
28306
28710
  type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
28307
28711
  type CanPlayTypeResult = "" | "maybe" | "probably";
@@ -28331,6 +28735,7 @@ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
28331
28735
  type DistanceModelType = "exponential" | "inverse" | "linear";
28332
28736
  type DocumentReadyState = "complete" | "interactive" | "loading";
28333
28737
  type DocumentVisibilityState = "hidden" | "visible";
28738
+ type EncodedAudioChunkType = "delta" | "key";
28334
28739
  type EncodedVideoChunkType = "delta" | "key";
28335
28740
  type EndOfStreamError = "decode" | "network";
28336
28741
  type EndingType = "native" | "transparent";
@@ -28379,6 +28784,7 @@ type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"
28379
28784
  type NotificationDirection = "auto" | "ltr" | "rtl";
28380
28785
  type NotificationPermission = "default" | "denied" | "granted";
28381
28786
  type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
28787
+ type OpusBitstreamFormat = "ogg" | "opus";
28382
28788
  type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
28383
28789
  type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
28384
28790
  type OverSampleType = "2x" | "4x" | "none";