@types/web 0.0.162 → 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
  *
@@ -7411,8 +7603,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
7411
7603
  createEvent(eventInterface: "MessageEvent"): MessageEvent;
7412
7604
  createEvent(eventInterface: "MouseEvent"): MouseEvent;
7413
7605
  createEvent(eventInterface: "MouseEvents"): MouseEvent;
7414
- createEvent(eventInterface: "MutationEvent"): MutationEvent;
7415
- createEvent(eventInterface: "MutationEvents"): MutationEvent;
7416
7606
  createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent;
7417
7607
  createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
7418
7608
  createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
@@ -8221,6 +8411,25 @@ declare var ElementInternals: {
8221
8411
  new(): ElementInternals;
8222
8412
  };
8223
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
+
8224
8433
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk) */
8225
8434
  interface EncodedVideoChunk {
8226
8435
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/EncodedVideoChunk/byteLength) */
@@ -8914,6 +9123,15 @@ declare var FormDataEvent: {
8914
9123
  new(type: string, eventInitDict: FormDataEventInit): FormDataEvent;
8915
9124
  };
8916
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
+
8917
9135
  /**
8918
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.
8919
9137
  *
@@ -9912,7 +10130,11 @@ declare var HTMLBodyElement: {
9912
10130
  interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9913
10131
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/disabled) */
9914
10132
  disabled: boolean;
9915
- /** 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
+ */
9916
10138
  readonly form: HTMLFormElement | null;
9917
10139
  /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
9918
10140
  formAction: string;
@@ -9940,7 +10162,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9940
10162
  type: "submit" | "reset" | "button";
9941
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. */
9942
10164
  readonly validationMessage: string;
9943
- /** 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
+ */
9944
10170
  readonly validity: ValidityState;
9945
10171
  /**
9946
10172
  * Sets or retrieves the default or selected value of the control.
@@ -9948,7 +10174,11 @@ interface HTMLButtonElement extends HTMLElement, PopoverInvokerElement {
9948
10174
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value)
9949
10175
  */
9950
10176
  value: string;
9951
- /** 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
+ */
9952
10182
  readonly willValidate: boolean;
9953
10183
  /**
9954
10184
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -10112,7 +10342,11 @@ declare var HTMLDataElement: {
10112
10342
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDataListElement)
10113
10343
  */
10114
10344
  interface HTMLDataListElement extends HTMLElement {
10115
- /** 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
+ */
10116
10350
  readonly options: HTMLCollectionOf<HTMLOptionElement>;
10117
10351
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLDataListElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
10118
10352
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -10349,17 +10583,33 @@ interface HTMLFieldSetElement extends HTMLElement {
10349
10583
  disabled: boolean;
10350
10584
  /** Returns an HTMLCollection of the form controls in the element. */
10351
10585
  readonly elements: HTMLCollection;
10352
- /** 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
+ */
10353
10591
  readonly form: HTMLFormElement | null;
10354
10592
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/name) */
10355
10593
  name: string;
10356
- /** Returns the string "fieldset". */
10594
+ /**
10595
+ * Returns the string "fieldset".
10596
+ *
10597
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLFieldSetElement/type)
10598
+ */
10357
10599
  readonly type: string;
10358
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. */
10359
10601
  readonly validationMessage: string;
10360
- /** 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
+ */
10361
10607
  readonly validity: ValidityState;
10362
- /** 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
+ */
10363
10613
  readonly willValidate: boolean;
10364
10614
  /**
10365
10615
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -11077,17 +11327,30 @@ declare var HTMLImageElement: {
11077
11327
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement)
11078
11328
  */
11079
11329
  interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11080
- /** 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
+ */
11081
11335
  accept: string;
11082
11336
  /**
11083
11337
  * Sets or retrieves how the object is aligned with adjacent text.
11084
11338
  * @deprecated
11085
11339
  */
11086
11340
  align: string;
11087
- /** 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
+ */
11088
11346
  alt: string;
11089
- /** 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
+ */
11090
11352
  autocomplete: AutoFill;
11353
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
11091
11354
  capture: string;
11092
11355
  /** Sets or retrieves the state of the check box or radio button. */
11093
11356
  checked: boolean;
@@ -11108,7 +11371,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11108
11371
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/files)
11109
11372
  */
11110
11373
  files: FileList | null;
11111
- /** 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
+ */
11112
11379
  readonly form: HTMLFormElement | null;
11113
11380
  /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */
11114
11381
  formAction: string;
@@ -11120,7 +11387,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11120
11387
  formNoValidate: boolean;
11121
11388
  /** Overrides the target attribute on a form element. */
11122
11389
  formTarget: string;
11123
- /** 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
+ */
11124
11395
  height: number;
11125
11396
  /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */
11126
11397
  indeterminate: boolean;
@@ -11164,12 +11435,25 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11164
11435
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/name)
11165
11436
  */
11166
11437
  name: string;
11167
- /** 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
+ */
11168
11443
  pattern: string;
11169
- /** 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
+ */
11170
11449
  placeholder: string;
11450
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/readOnly) */
11171
11451
  readOnly: boolean;
11172
- /** 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
+ */
11173
11457
  required: boolean;
11174
11458
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection) */
11175
11459
  selectionDirection: "forward" | "backward" | "none" | null;
@@ -11185,8 +11469,13 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11185
11469
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionStart)
11186
11470
  */
11187
11471
  selectionStart: number | null;
11472
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/size) */
11188
11473
  size: number;
11189
- /** 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
+ */
11190
11479
  src: string;
11191
11480
  /**
11192
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.
@@ -11207,7 +11496,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11207
11496
  useMap: string;
11208
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. */
11209
11498
  readonly validationMessage: string;
11210
- /** 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
+ */
11211
11504
  readonly validity: ValidityState;
11212
11505
  /**
11213
11506
  * Returns the value of the data at the cursor's current position.
@@ -11231,9 +11524,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
11231
11524
  readonly webkitEntries: ReadonlyArray<FileSystemEntry>;
11232
11525
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/webkitdirectory) */
11233
11526
  webkitdirectory: boolean;
11234
- /** 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
+ */
11235
11532
  width: number;
11236
- /** 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
+ */
11237
11538
  readonly willValidate: boolean;
11238
11539
  /**
11239
11540
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -11359,7 +11660,11 @@ declare var HTMLLabelElement: {
11359
11660
  interface HTMLLegendElement extends HTMLElement {
11360
11661
  /** @deprecated */
11361
11662
  align: string;
11362
- /** 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
+ */
11363
11668
  readonly form: HTMLFormElement | null;
11364
11669
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLegendElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11365
11670
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -12053,7 +12358,11 @@ interface HTMLOptionElement extends HTMLElement {
12053
12358
  /** Sets or retrieves the status of an option. */
12054
12359
  defaultSelected: boolean;
12055
12360
  disabled: boolean;
12056
- /** 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
+ */
12057
12366
  readonly form: HTMLFormElement | null;
12058
12367
  /** Sets or retrieves the ordinal position of an option in a list box. */
12059
12368
  readonly index: number;
@@ -12141,15 +12450,21 @@ interface HTMLOrSVGElement {
12141
12450
  */
12142
12451
  interface HTMLOutputElement extends HTMLElement {
12143
12452
  defaultValue: string;
12453
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/form) */
12144
12454
  readonly form: HTMLFormElement | null;
12145
12455
  readonly htmlFor: DOMTokenList;
12146
12456
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/labels) */
12147
12457
  readonly labels: NodeListOf<HTMLLabelElement>;
12148
12458
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/name) */
12149
12459
  name: string;
12150
- /** Returns the string "output". */
12460
+ /**
12461
+ * Returns the string "output".
12462
+ *
12463
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/type)
12464
+ */
12151
12465
  readonly type: string;
12152
12466
  readonly validationMessage: string;
12467
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/validity) */
12153
12468
  readonly validity: ValidityState;
12154
12469
  /**
12155
12470
  * Returns the element's current value.
@@ -12159,6 +12474,7 @@ interface HTMLOutputElement extends HTMLElement {
12159
12474
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/value)
12160
12475
  */
12161
12476
  value: string;
12477
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/willValidate) */
12162
12478
  readonly willValidate: boolean;
12163
12479
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLOutputElement/checkValidity) */
12164
12480
  checkValidity(): boolean;
@@ -12419,9 +12735,17 @@ interface HTMLSelectElement extends HTMLElement {
12419
12735
  readonly form: HTMLFormElement | null;
12420
12736
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/labels) */
12421
12737
  readonly labels: NodeListOf<HTMLLabelElement>;
12422
- /** 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
+ */
12423
12743
  length: number;
12424
- /** 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
+ */
12425
12749
  multiple: boolean;
12426
12750
  /**
12427
12751
  * Sets or retrieves the name of the object.
@@ -12435,7 +12759,11 @@ interface HTMLSelectElement extends HTMLElement {
12435
12759
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/options)
12436
12760
  */
12437
12761
  readonly options: HTMLOptionsCollection;
12438
- /** 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
+ */
12439
12767
  required: boolean;
12440
12768
  /**
12441
12769
  * Sets or retrieves the index of the selected option in a select object.
@@ -12445,7 +12773,11 @@ interface HTMLSelectElement extends HTMLElement {
12445
12773
  selectedIndex: number;
12446
12774
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/selectedOptions) */
12447
12775
  readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;
12448
- /** 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
+ */
12449
12781
  size: number;
12450
12782
  /**
12451
12783
  * Retrieves the type of select control based on the value of the MULTIPLE attribute.
@@ -12455,7 +12787,11 @@ interface HTMLSelectElement extends HTMLElement {
12455
12787
  readonly type: "select-one" | "select-multiple";
12456
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. */
12457
12789
  readonly validationMessage: string;
12458
- /** 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
+ */
12459
12795
  readonly validity: ValidityState;
12460
12796
  /**
12461
12797
  * Sets or retrieves the value which is returned to the server when the form control is submitted.
@@ -12463,7 +12799,11 @@ interface HTMLSelectElement extends HTMLElement {
12463
12799
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/value)
12464
12800
  */
12465
12801
  value: string;
12466
- /** 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
+ */
12467
12807
  readonly willValidate: boolean;
12468
12808
  /**
12469
12809
  * Adds an element to the areas, controlRange, or options collection.
@@ -13171,19 +13511,38 @@ declare var HTMLTemplateElement: {
13171
13511
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement)
13172
13512
  */
13173
13513
  interface HTMLTextAreaElement extends HTMLElement {
13514
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/autocomplete) */
13174
13515
  autocomplete: AutoFill;
13175
- /** 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
+ */
13176
13521
  cols: number;
13177
- /** 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
+ */
13178
13527
  defaultValue: string;
13179
13528
  dirName: string;
13529
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/disabled) */
13180
13530
  disabled: boolean;
13181
- /** 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
+ */
13182
13536
  readonly form: HTMLFormElement | null;
13183
13537
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/labels) */
13184
13538
  readonly labels: NodeListOf<HTMLLabelElement>;
13185
- /** 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
+ */
13186
13544
  maxLength: number;
13545
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/minLength) */
13187
13546
  minLength: number;
13188
13547
  /**
13189
13548
  * Sets or retrieves the name of the object.
@@ -13191,19 +13550,36 @@ interface HTMLTextAreaElement extends HTMLElement {
13191
13550
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/name)
13192
13551
  */
13193
13552
  name: string;
13194
- /** 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
+ */
13195
13558
  placeholder: string;
13196
- /** 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
+ */
13197
13564
  readOnly: boolean;
13198
- /** 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
+ */
13199
13570
  required: boolean;
13200
- /** 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
+ */
13201
13576
  rows: number;
13202
13577
  selectionDirection: "forward" | "backward" | "none";
13203
13578
  /** Gets or sets the end position or offset of a text selection. */
13204
13579
  selectionEnd: number;
13205
13580
  /** Gets or sets the starting position or offset of a text selection. */
13206
13581
  selectionStart: number;
13582
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
13207
13583
  readonly textLength: number;
13208
13584
  /**
13209
13585
  * Retrieves the type of control.
@@ -13213,7 +13589,11 @@ interface HTMLTextAreaElement extends HTMLElement {
13213
13589
  readonly type: string;
13214
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. */
13215
13591
  readonly validationMessage: string;
13216
- /** 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
+ */
13217
13597
  readonly validity: ValidityState;
13218
13598
  /**
13219
13599
  * Retrieves or sets the text in the entry field of the textArea element.
@@ -13221,9 +13601,17 @@ interface HTMLTextAreaElement extends HTMLElement {
13221
13601
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/value)
13222
13602
  */
13223
13603
  value: string;
13224
- /** 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
+ */
13225
13609
  readonly willValidate: boolean;
13226
- /** 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
+ */
13227
13615
  wrap: string;
13228
13616
  /**
13229
13617
  * Returns whether a form will validate when it is submitted, without having to submit it.
@@ -15717,63 +16105,6 @@ declare var MouseEvent: {
15717
16105
  new(type: string, eventInitDict?: MouseEventInit): MouseEvent;
15718
16106
  };
15719
16107
 
15720
- /**
15721
- * Provides event properties that are specific to modifications to the Document Object Model (DOM) hierarchy and nodes.
15722
- * @deprecated DOM4 [DOM] provides a new mechanism using a MutationObserver interface which addresses the use cases that mutation events solve, but in a more performant manner. Thus, this specification describes mutation events for reference and completeness of legacy behavior, but deprecates the use of the MutationEvent interface.
15723
- *
15724
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent)
15725
- */
15726
- interface MutationEvent extends Event {
15727
- /**
15728
- * @deprecated
15729
- *
15730
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrChange)
15731
- */
15732
- readonly attrChange: number;
15733
- /**
15734
- * @deprecated
15735
- *
15736
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/attrName)
15737
- */
15738
- readonly attrName: string;
15739
- /**
15740
- * @deprecated
15741
- *
15742
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/newValue)
15743
- */
15744
- readonly newValue: string;
15745
- /**
15746
- * @deprecated
15747
- *
15748
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/prevValue)
15749
- */
15750
- readonly prevValue: string;
15751
- /**
15752
- * @deprecated
15753
- *
15754
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/relatedNode)
15755
- */
15756
- readonly relatedNode: Node | null;
15757
- /**
15758
- * @deprecated
15759
- *
15760
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MutationEvent/initMutationEvent)
15761
- */
15762
- initMutationEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, relatedNodeArg?: Node | null, prevValueArg?: string, newValueArg?: string, attrNameArg?: string, attrChangeArg?: number): void;
15763
- readonly MODIFICATION: 1;
15764
- readonly ADDITION: 2;
15765
- readonly REMOVAL: 3;
15766
- }
15767
-
15768
- /** @deprecated */
15769
- declare var MutationEvent: {
15770
- prototype: MutationEvent;
15771
- new(): MutationEvent;
15772
- readonly MODIFICATION: 1;
15773
- readonly ADDITION: 2;
15774
- readonly REMOVAL: 3;
15775
- };
15776
-
15777
16108
  /**
15778
16109
  * Provides the ability to watch for changes being made to the DOM tree. It is designed as a replacement for the older Mutation Events feature which was part of the DOM3 Events specification.
15779
16110
  *
@@ -17725,6 +18056,10 @@ declare var PluginArray: {
17725
18056
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent)
17726
18057
  */
17727
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;
17728
18063
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/height) */
17729
18064
  readonly height: number;
17730
18065
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PointerEvent/isPrimary) */
@@ -22871,7 +23206,7 @@ declare var URLSearchParams: {
22871
23206
  interface UserActivation {
22872
23207
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */
22873
23208
  readonly hasBeenActive: boolean;
22874
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/hasBeenActive) */
23209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/UserActivation/isActive) */
22875
23210
  readonly isActive: boolean;
22876
23211
  }
22877
23212
 
@@ -27036,6 +27371,10 @@ declare namespace WebAssembly {
27036
27371
  function validate(bytes: BufferSource): boolean;
27037
27372
  }
27038
27373
 
27374
+ interface AudioDataOutputCallback {
27375
+ (output: AudioData): void;
27376
+ }
27377
+
27039
27378
  interface BlobCallback {
27040
27379
  (blob: Blob | null): void;
27041
27380
  }
@@ -27052,6 +27391,10 @@ interface DecodeSuccessCallback {
27052
27391
  (decodedData: AudioBuffer): void;
27053
27392
  }
27054
27393
 
27394
+ interface EncodedAudioChunkOutputCallback {
27395
+ (output: EncodedAudioChunk, metadata?: EncodedAudioChunkMetadata): void;
27396
+ }
27397
+
27055
27398
  interface EncodedVideoChunkOutputCallback {
27056
27399
  (chunk: EncodedVideoChunk, metadata?: EncodedVideoChunkMetadata): void;
27057
27400
  }
@@ -28335,7 +28678,7 @@ type ReportList = Report[];
28335
28678
  type RequestInfo = Request | string;
28336
28679
  type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
28337
28680
  type TimerHandler = string | Function;
28338
- type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;
28681
+ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | ArrayBuffer;
28339
28682
  type Uint32List = Uint32Array | GLuint[];
28340
28683
  type VibratePattern = number | number[];
28341
28684
  type WindowProxy = Window;
@@ -28348,6 +28691,7 @@ type AppendMode = "segments" | "sequence";
28348
28691
  type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none";
28349
28692
  type AudioContextLatencyCategory = "balanced" | "interactive" | "playback";
28350
28693
  type AudioContextState = "closed" | "running" | "suspended";
28694
+ type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
28351
28695
  type AuthenticatorAttachment = "cross-platform" | "platform";
28352
28696
  type AuthenticatorTransport = "ble" | "hybrid" | "internal" | "nfc" | "usb";
28353
28697
  type AutoFillAddressKind = "billing" | "shipping";
@@ -28361,6 +28705,7 @@ type AutomationRate = "a-rate" | "k-rate";
28361
28705
  type AvcBitstreamFormat = "annexb" | "avc";
28362
28706
  type BinaryType = "arraybuffer" | "blob";
28363
28707
  type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
28708
+ type BitrateMode = "constant" | "variable";
28364
28709
  type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
28365
28710
  type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
28366
28711
  type CanPlayTypeResult = "" | "maybe" | "probably";
@@ -28390,6 +28735,7 @@ type DisplayCaptureSurfaceType = "browser" | "monitor" | "window";
28390
28735
  type DistanceModelType = "exponential" | "inverse" | "linear";
28391
28736
  type DocumentReadyState = "complete" | "interactive" | "loading";
28392
28737
  type DocumentVisibilityState = "hidden" | "visible";
28738
+ type EncodedAudioChunkType = "delta" | "key";
28393
28739
  type EncodedVideoChunkType = "delta" | "key";
28394
28740
  type EndOfStreamError = "decode" | "network";
28395
28741
  type EndingType = "native" | "transparent";
@@ -28438,6 +28784,7 @@ type NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload"
28438
28784
  type NotificationDirection = "auto" | "ltr" | "rtl";
28439
28785
  type NotificationPermission = "default" | "denied" | "granted";
28440
28786
  type OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";
28787
+ type OpusBitstreamFormat = "ogg" | "opus";
28441
28788
  type OrientationType = "landscape-primary" | "landscape-secondary" | "portrait-primary" | "portrait-secondary";
28442
28789
  type OscillatorType = "custom" | "sawtooth" | "sine" | "square" | "triangle";
28443
28790
  type OverSampleType = "2x" | "4x" | "none";