drab 6.5.1 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/announcer/index.d.ts +2 -0
  2. package/dist/base/index.d.ts +101 -1536
  3. package/dist/base/index.js +87 -76
  4. package/dist/contextmenu/index.d.ts +1045 -3
  5. package/dist/contextmenu/index.js +15 -15
  6. package/dist/define.d.ts +11 -1
  7. package/dist/define.js +11 -5
  8. package/dist/dialog/index.d.ts +1047 -6
  9. package/dist/dialog/index.js +28 -25
  10. package/dist/editor/index.d.ts +1047 -12
  11. package/dist/editor/index.js +36 -36
  12. package/dist/fullscreen/index.d.ts +1045 -7
  13. package/dist/fullscreen/index.js +8 -8
  14. package/dist/index.d.ts +0 -3
  15. package/dist/index.js +0 -3
  16. package/dist/intersect/index.d.ts +1059 -16
  17. package/dist/intersect/index.js +26 -33
  18. package/dist/prefetch/index.d.ts +706 -25
  19. package/dist/prefetch/index.js +25 -44
  20. package/dist/share/index.d.ts +1413 -11
  21. package/dist/share/index.js +50 -18
  22. package/dist/tablesort/index.d.ts +1390 -5
  23. package/dist/tablesort/index.js +5 -5
  24. package/dist/tabs/index.d.ts +702 -4
  25. package/dist/tabs/index.js +3 -3
  26. package/dist/types/index.d.ts +29 -0
  27. package/dist/wakelock/index.d.ts +1390 -6
  28. package/dist/wakelock/index.js +16 -16
  29. package/package.json +5 -24
  30. package/dist/base/define.js +0 -3
  31. package/dist/copy/define.d.ts +0 -1
  32. package/dist/copy/define.js +0 -3
  33. package/dist/copy/index.d.ts +0 -30
  34. package/dist/copy/index.js +0 -39
  35. package/dist/youtube/define.d.ts +0 -1
  36. package/dist/youtube/define.js +0 -3
  37. package/dist/youtube/index.d.ts +0 -31
  38. package/dist/youtube/index.js +0 -56
  39. /package/dist/{base/define.d.ts → types/index.js} +0 -0
@@ -1,22 +1,1424 @@
1
- import { Copy, type CopyAttributes } from "../copy/index.js";
2
- export type ShareAttributes = CopyAttributes;
1
+ import { type TriggerAttributes, type ContentAttributes } from "../base/index.js";
2
+ export type ShareAttributes = TriggerAttributes & ContentAttributes & ({
3
+ /** Share URL */
4
+ url: string;
5
+ /** `ShareData` text (only supported on some targets) */
6
+ text?: string;
7
+ /** Share title */
8
+ "share-title"?: string;
9
+ } | {
10
+ /** Text to copy */
11
+ text: string;
12
+ });
13
+ declare const Share_base: {
14
+ new (...args: any[]): {
15
+ "__#1@#listenerController": AbortController;
16
+ safeListener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, event: HTMLElementEventMap[T]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
17
+ safeListener<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, event: DocumentEventMap[T]) => any, document: Document, options?: AddEventListenerOptions): void;
18
+ safeListener<T extends keyof WindowEventMap>(type: T, listener: (this: Window, event: WindowEventMap[T]) => any, window: Window, options?: AddEventListenerOptions): void;
19
+ mount(): void;
20
+ connectedCallback(): void;
21
+ destroy(): void;
22
+ disconnectedCallback(): void;
23
+ accessKey: string;
24
+ readonly accessKeyLabel: string;
25
+ autocapitalize: string;
26
+ dir: string;
27
+ draggable: boolean;
28
+ hidden: boolean;
29
+ inert: boolean;
30
+ innerText: string;
31
+ lang: string;
32
+ readonly offsetHeight: number;
33
+ readonly offsetLeft: number;
34
+ readonly offsetParent: Element | null;
35
+ readonly offsetTop: number;
36
+ readonly offsetWidth: number;
37
+ outerText: string;
38
+ popover: string | null;
39
+ spellcheck: boolean;
40
+ title: string;
41
+ translate: boolean;
42
+ writingSuggestions: string;
43
+ attachInternals(): ElementInternals;
44
+ click(): void;
45
+ hidePopover(): void;
46
+ showPopover(): void;
47
+ togglePopover(options?: boolean): boolean;
48
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
49
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
50
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
51
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
52
+ readonly attributes: NamedNodeMap;
53
+ get classList(): DOMTokenList;
54
+ set classList(value: string);
55
+ className: string;
56
+ readonly clientHeight: number;
57
+ readonly clientLeft: number;
58
+ readonly clientTop: number;
59
+ readonly clientWidth: number;
60
+ readonly currentCSSZoom: number;
61
+ id: string;
62
+ innerHTML: string;
63
+ readonly localName: string;
64
+ readonly namespaceURI: string | null;
65
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
66
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
67
+ outerHTML: string;
68
+ readonly ownerDocument: Document;
69
+ get part(): DOMTokenList;
70
+ set part(value: string);
71
+ readonly prefix: string | null;
72
+ readonly scrollHeight: number;
73
+ scrollLeft: number;
74
+ scrollTop: number;
75
+ readonly scrollWidth: number;
76
+ readonly shadowRoot: ShadowRoot | null;
77
+ slot: string;
78
+ readonly tagName: string;
79
+ attachShadow(init: ShadowRootInit): ShadowRoot;
80
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
81
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
82
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
83
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
84
+ closest<E extends Element = Element>(selectors: string): E | null;
85
+ computedStyleMap(): StylePropertyMapReadOnly;
86
+ getAttribute(qualifiedName: string): string | null;
87
+ getAttributeNS(namespace: string | null, localName: string): string | null;
88
+ getAttributeNames(): string[];
89
+ getAttributeNode(qualifiedName: string): Attr | null;
90
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
91
+ getBoundingClientRect(): DOMRect;
92
+ getClientRects(): DOMRectList;
93
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
94
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
95
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
96
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
97
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
98
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
99
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
100
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
101
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
102
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
103
+ getHTML(options?: GetHTMLOptions): string;
104
+ hasAttribute(qualifiedName: string): boolean;
105
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
106
+ hasAttributes(): boolean;
107
+ hasPointerCapture(pointerId: number): boolean;
108
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
109
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
110
+ insertAdjacentText(where: InsertPosition, data: string): void;
111
+ matches(selectors: string): boolean;
112
+ releasePointerCapture(pointerId: number): void;
113
+ removeAttribute(qualifiedName: string): void;
114
+ removeAttributeNS(namespace: string | null, localName: string): void;
115
+ removeAttributeNode(attr: Attr): Attr;
116
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
117
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
118
+ scroll(options?: ScrollToOptions): void;
119
+ scroll(x: number, y: number): void;
120
+ scrollBy(options?: ScrollToOptions): void;
121
+ scrollBy(x: number, y: number): void;
122
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
123
+ scrollTo(options?: ScrollToOptions): void;
124
+ scrollTo(x: number, y: number): void;
125
+ setAttribute(qualifiedName: string, value: string): void;
126
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
127
+ setAttributeNode(attr: Attr): Attr | null;
128
+ setAttributeNodeNS(attr: Attr): Attr | null;
129
+ setHTMLUnsafe(html: string): void;
130
+ setPointerCapture(pointerId: number): void;
131
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
132
+ webkitMatchesSelector(selectors: string): boolean;
133
+ readonly baseURI: string;
134
+ readonly childNodes: NodeListOf<ChildNode>;
135
+ readonly firstChild: ChildNode | null;
136
+ readonly isConnected: boolean;
137
+ readonly lastChild: ChildNode | null;
138
+ readonly nextSibling: ChildNode | null;
139
+ readonly nodeName: string;
140
+ readonly nodeType: number;
141
+ nodeValue: string | null;
142
+ readonly parentElement: HTMLElement | null;
143
+ readonly parentNode: ParentNode | null;
144
+ readonly previousSibling: ChildNode | null;
145
+ textContent: string | null;
146
+ appendChild<T extends Node>(node: T): T;
147
+ cloneNode(subtree?: boolean): Node;
148
+ compareDocumentPosition(other: Node): number;
149
+ contains(other: Node | null): boolean;
150
+ getRootNode(options?: GetRootNodeOptions): Node;
151
+ hasChildNodes(): boolean;
152
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
153
+ isDefaultNamespace(namespace: string | null): boolean;
154
+ isEqualNode(otherNode: Node | null): boolean;
155
+ isSameNode(otherNode: Node | null): boolean;
156
+ lookupNamespaceURI(prefix: string | null): string | null;
157
+ lookupPrefix(namespace: string | null): string | null;
158
+ normalize(): void;
159
+ removeChild<T extends Node>(child: T): T;
160
+ replaceChild<T extends Node>(node: Node, child: T): T;
161
+ readonly ELEMENT_NODE: 1;
162
+ readonly ATTRIBUTE_NODE: 2;
163
+ readonly TEXT_NODE: 3;
164
+ readonly CDATA_SECTION_NODE: 4;
165
+ readonly ENTITY_REFERENCE_NODE: 5;
166
+ readonly ENTITY_NODE: 6;
167
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
168
+ readonly COMMENT_NODE: 8;
169
+ readonly DOCUMENT_NODE: 9;
170
+ readonly DOCUMENT_TYPE_NODE: 10;
171
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
172
+ readonly NOTATION_NODE: 12;
173
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
174
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
175
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
176
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
177
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
178
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
179
+ dispatchEvent(event: Event): boolean;
180
+ ariaAtomic: string | null;
181
+ ariaAutoComplete: string | null;
182
+ ariaBrailleLabel: string | null;
183
+ ariaBrailleRoleDescription: string | null;
184
+ ariaBusy: string | null;
185
+ ariaChecked: string | null;
186
+ ariaColCount: string | null;
187
+ ariaColIndex: string | null;
188
+ ariaColIndexText: string | null;
189
+ ariaColSpan: string | null;
190
+ ariaCurrent: string | null;
191
+ ariaDescription: string | null;
192
+ ariaDisabled: string | null;
193
+ ariaExpanded: string | null;
194
+ ariaHasPopup: string | null;
195
+ ariaHidden: string | null;
196
+ ariaInvalid: string | null;
197
+ ariaKeyShortcuts: string | null;
198
+ ariaLabel: string | null;
199
+ ariaLevel: string | null;
200
+ ariaLive: string | null;
201
+ ariaModal: string | null;
202
+ ariaMultiLine: string | null;
203
+ ariaMultiSelectable: string | null;
204
+ ariaOrientation: string | null;
205
+ ariaPlaceholder: string | null;
206
+ ariaPosInSet: string | null;
207
+ ariaPressed: string | null;
208
+ ariaReadOnly: string | null;
209
+ ariaRelevant: string | null;
210
+ ariaRequired: string | null;
211
+ ariaRoleDescription: string | null;
212
+ ariaRowCount: string | null;
213
+ ariaRowIndex: string | null;
214
+ ariaRowIndexText: string | null;
215
+ ariaRowSpan: string | null;
216
+ ariaSelected: string | null;
217
+ ariaSetSize: string | null;
218
+ ariaSort: string | null;
219
+ ariaValueMax: string | null;
220
+ ariaValueMin: string | null;
221
+ ariaValueNow: string | null;
222
+ ariaValueText: string | null;
223
+ role: string | null;
224
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
225
+ getAnimations(options?: GetAnimationsOptions): Animation[];
226
+ after(...nodes: (Node | string)[]): void;
227
+ before(...nodes: (Node | string)[]): void;
228
+ remove(): void;
229
+ replaceWith(...nodes: (Node | string)[]): void;
230
+ readonly nextElementSibling: Element | null;
231
+ readonly previousElementSibling: Element | null;
232
+ readonly childElementCount: number;
233
+ readonly children: HTMLCollection;
234
+ readonly firstElementChild: Element | null;
235
+ readonly lastElementChild: Element | null;
236
+ append(...nodes: (Node | string)[]): void;
237
+ prepend(...nodes: (Node | string)[]): void;
238
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
239
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
240
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
241
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
242
+ querySelector<E extends Element = Element>(selectors: string): E | null;
243
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
244
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
245
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
246
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
247
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
248
+ replaceChildren(...nodes: (Node | string)[]): void;
249
+ readonly assignedSlot: HTMLSlotElement | null;
250
+ readonly attributeStyleMap: StylePropertyMap;
251
+ get style(): CSSStyleDeclaration;
252
+ set style(cssText: string);
253
+ contentEditable: string;
254
+ enterKeyHint: string;
255
+ inputMode: string;
256
+ readonly isContentEditable: boolean;
257
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
258
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
259
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
260
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
261
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
262
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
263
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
264
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
266
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
267
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
271
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
274
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
276
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
278
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
279
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
280
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
281
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
282
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
283
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
284
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
285
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
286
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
289
+ onerror: OnErrorEventHandler;
290
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
291
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
292
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
293
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
296
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
297
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
298
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
303
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
304
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
305
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
306
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
307
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
308
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
309
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
311
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
312
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
315
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
316
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
317
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
318
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
319
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
322
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
323
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
324
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
326
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
328
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
329
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
330
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
336
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
337
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
341
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
342
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
343
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
344
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
345
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
346
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
347
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
348
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
350
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
354
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
355
+ autofocus: boolean;
356
+ readonly dataset: DOMStringMap;
357
+ nonce?: string;
358
+ tabIndex: number;
359
+ blur(): void;
360
+ focus(options?: FocusOptions): void;
361
+ };
362
+ } & {
363
+ new (...args: any[]): {
364
+ event: keyof HTMLElementEventMap;
365
+ triggers<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): NodeListOf<T>;
366
+ triggers(): NodeListOf<HTMLElement>;
367
+ listener<T extends keyof HTMLElementEventMap>(listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
368
+ listener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
369
+ accessKey: string;
370
+ readonly accessKeyLabel: string;
371
+ autocapitalize: string;
372
+ dir: string;
373
+ draggable: boolean;
374
+ hidden: boolean;
375
+ inert: boolean;
376
+ innerText: string;
377
+ lang: string;
378
+ readonly offsetHeight: number;
379
+ readonly offsetLeft: number;
380
+ readonly offsetParent: Element | null;
381
+ readonly offsetTop: number;
382
+ readonly offsetWidth: number;
383
+ outerText: string;
384
+ popover: string | null;
385
+ spellcheck: boolean;
386
+ title: string;
387
+ translate: boolean;
388
+ writingSuggestions: string;
389
+ attachInternals(): ElementInternals;
390
+ click(): void;
391
+ hidePopover(): void;
392
+ showPopover(): void;
393
+ togglePopover(options?: boolean): boolean;
394
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
395
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
396
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
397
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
398
+ readonly attributes: NamedNodeMap;
399
+ get classList(): DOMTokenList;
400
+ set classList(value: string);
401
+ className: string;
402
+ readonly clientHeight: number;
403
+ readonly clientLeft: number;
404
+ readonly clientTop: number;
405
+ readonly clientWidth: number;
406
+ readonly currentCSSZoom: number;
407
+ id: string;
408
+ innerHTML: string;
409
+ readonly localName: string;
410
+ readonly namespaceURI: string | null;
411
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
412
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
413
+ outerHTML: string;
414
+ readonly ownerDocument: Document;
415
+ get part(): DOMTokenList;
416
+ set part(value: string);
417
+ readonly prefix: string | null;
418
+ readonly scrollHeight: number;
419
+ scrollLeft: number;
420
+ scrollTop: number;
421
+ readonly scrollWidth: number;
422
+ readonly shadowRoot: ShadowRoot | null;
423
+ slot: string;
424
+ readonly tagName: string;
425
+ attachShadow(init: ShadowRootInit): ShadowRoot;
426
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
427
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
428
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
429
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
430
+ closest<E extends Element = Element>(selectors: string): E | null;
431
+ computedStyleMap(): StylePropertyMapReadOnly;
432
+ getAttribute(qualifiedName: string): string | null;
433
+ getAttributeNS(namespace: string | null, localName: string): string | null;
434
+ getAttributeNames(): string[];
435
+ getAttributeNode(qualifiedName: string): Attr | null;
436
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
437
+ getBoundingClientRect(): DOMRect;
438
+ getClientRects(): DOMRectList;
439
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
440
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
441
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
442
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
443
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
444
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
445
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
446
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
447
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
448
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
449
+ getHTML(options?: GetHTMLOptions): string;
450
+ hasAttribute(qualifiedName: string): boolean;
451
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
452
+ hasAttributes(): boolean;
453
+ hasPointerCapture(pointerId: number): boolean;
454
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
455
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
456
+ insertAdjacentText(where: InsertPosition, data: string): void;
457
+ matches(selectors: string): boolean;
458
+ releasePointerCapture(pointerId: number): void;
459
+ removeAttribute(qualifiedName: string): void;
460
+ removeAttributeNS(namespace: string | null, localName: string): void;
461
+ removeAttributeNode(attr: Attr): Attr;
462
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
463
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
464
+ scroll(options?: ScrollToOptions): void;
465
+ scroll(x: number, y: number): void;
466
+ scrollBy(options?: ScrollToOptions): void;
467
+ scrollBy(x: number, y: number): void;
468
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
469
+ scrollTo(options?: ScrollToOptions): void;
470
+ scrollTo(x: number, y: number): void;
471
+ setAttribute(qualifiedName: string, value: string): void;
472
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
473
+ setAttributeNode(attr: Attr): Attr | null;
474
+ setAttributeNodeNS(attr: Attr): Attr | null;
475
+ setHTMLUnsafe(html: string): void;
476
+ setPointerCapture(pointerId: number): void;
477
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
478
+ webkitMatchesSelector(selectors: string): boolean;
479
+ readonly baseURI: string;
480
+ readonly childNodes: NodeListOf<ChildNode>;
481
+ readonly firstChild: ChildNode | null;
482
+ readonly isConnected: boolean;
483
+ readonly lastChild: ChildNode | null;
484
+ readonly nextSibling: ChildNode | null;
485
+ readonly nodeName: string;
486
+ readonly nodeType: number;
487
+ nodeValue: string | null;
488
+ readonly parentElement: HTMLElement | null;
489
+ readonly parentNode: ParentNode | null;
490
+ readonly previousSibling: ChildNode | null;
491
+ textContent: string | null;
492
+ appendChild<T extends Node>(node: T): T;
493
+ cloneNode(subtree?: boolean): Node;
494
+ compareDocumentPosition(other: Node): number;
495
+ contains(other: Node | null): boolean;
496
+ getRootNode(options?: GetRootNodeOptions): Node;
497
+ hasChildNodes(): boolean;
498
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
499
+ isDefaultNamespace(namespace: string | null): boolean;
500
+ isEqualNode(otherNode: Node | null): boolean;
501
+ isSameNode(otherNode: Node | null): boolean;
502
+ lookupNamespaceURI(prefix: string | null): string | null;
503
+ lookupPrefix(namespace: string | null): string | null;
504
+ normalize(): void;
505
+ removeChild<T extends Node>(child: T): T;
506
+ replaceChild<T extends Node>(node: Node, child: T): T;
507
+ readonly ELEMENT_NODE: 1;
508
+ readonly ATTRIBUTE_NODE: 2;
509
+ readonly TEXT_NODE: 3;
510
+ readonly CDATA_SECTION_NODE: 4;
511
+ readonly ENTITY_REFERENCE_NODE: 5;
512
+ readonly ENTITY_NODE: 6;
513
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
514
+ readonly COMMENT_NODE: 8;
515
+ readonly DOCUMENT_NODE: 9;
516
+ readonly DOCUMENT_TYPE_NODE: 10;
517
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
518
+ readonly NOTATION_NODE: 12;
519
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
520
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
521
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
522
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
523
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
524
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
525
+ dispatchEvent(event: Event): boolean;
526
+ ariaAtomic: string | null;
527
+ ariaAutoComplete: string | null;
528
+ ariaBrailleLabel: string | null;
529
+ ariaBrailleRoleDescription: string | null;
530
+ ariaBusy: string | null;
531
+ ariaChecked: string | null;
532
+ ariaColCount: string | null;
533
+ ariaColIndex: string | null;
534
+ ariaColIndexText: string | null;
535
+ ariaColSpan: string | null;
536
+ ariaCurrent: string | null;
537
+ ariaDescription: string | null;
538
+ ariaDisabled: string | null;
539
+ ariaExpanded: string | null;
540
+ ariaHasPopup: string | null;
541
+ ariaHidden: string | null;
542
+ ariaInvalid: string | null;
543
+ ariaKeyShortcuts: string | null;
544
+ ariaLabel: string | null;
545
+ ariaLevel: string | null;
546
+ ariaLive: string | null;
547
+ ariaModal: string | null;
548
+ ariaMultiLine: string | null;
549
+ ariaMultiSelectable: string | null;
550
+ ariaOrientation: string | null;
551
+ ariaPlaceholder: string | null;
552
+ ariaPosInSet: string | null;
553
+ ariaPressed: string | null;
554
+ ariaReadOnly: string | null;
555
+ ariaRelevant: string | null;
556
+ ariaRequired: string | null;
557
+ ariaRoleDescription: string | null;
558
+ ariaRowCount: string | null;
559
+ ariaRowIndex: string | null;
560
+ ariaRowIndexText: string | null;
561
+ ariaRowSpan: string | null;
562
+ ariaSelected: string | null;
563
+ ariaSetSize: string | null;
564
+ ariaSort: string | null;
565
+ ariaValueMax: string | null;
566
+ ariaValueMin: string | null;
567
+ ariaValueNow: string | null;
568
+ ariaValueText: string | null;
569
+ role: string | null;
570
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
571
+ getAnimations(options?: GetAnimationsOptions): Animation[];
572
+ after(...nodes: (Node | string)[]): void;
573
+ before(...nodes: (Node | string)[]): void;
574
+ remove(): void;
575
+ replaceWith(...nodes: (Node | string)[]): void;
576
+ readonly nextElementSibling: Element | null;
577
+ readonly previousElementSibling: Element | null;
578
+ readonly childElementCount: number;
579
+ readonly children: HTMLCollection;
580
+ readonly firstElementChild: Element | null;
581
+ readonly lastElementChild: Element | null;
582
+ append(...nodes: (Node | string)[]): void;
583
+ prepend(...nodes: (Node | string)[]): void;
584
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
585
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
586
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
587
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
588
+ querySelector<E extends Element = Element>(selectors: string): E | null;
589
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
590
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
591
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
592
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
593
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
594
+ replaceChildren(...nodes: (Node | string)[]): void;
595
+ readonly assignedSlot: HTMLSlotElement | null;
596
+ readonly attributeStyleMap: StylePropertyMap;
597
+ get style(): CSSStyleDeclaration;
598
+ set style(cssText: string);
599
+ contentEditable: string;
600
+ enterKeyHint: string;
601
+ inputMode: string;
602
+ readonly isContentEditable: boolean;
603
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
604
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
605
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
606
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
607
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
608
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
609
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
610
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
611
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
612
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
613
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
614
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
615
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
616
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
617
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
618
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
619
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
620
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
621
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
622
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
623
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
624
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
625
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
626
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
627
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
628
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
629
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
630
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
631
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
632
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
633
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
634
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
635
+ onerror: OnErrorEventHandler;
636
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
637
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
638
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
639
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
640
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
641
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
642
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
643
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
644
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
645
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
646
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
647
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
648
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
649
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
650
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
651
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
652
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
653
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
654
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
655
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
656
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
657
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
658
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
659
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
660
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
661
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
662
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
663
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
664
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
665
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
666
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
667
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
668
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
669
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
670
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
671
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
672
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
673
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
674
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
675
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
676
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
677
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
678
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
679
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
680
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
681
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
682
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
683
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
684
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
685
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
686
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
687
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
688
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
689
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
690
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
691
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
692
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
693
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
694
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
695
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
696
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
697
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
698
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
699
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
700
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
701
+ autofocus: boolean;
702
+ readonly dataset: DOMStringMap;
703
+ nonce?: string;
704
+ tabIndex: number;
705
+ blur(): void;
706
+ focus(options?: FocusOptions): void;
707
+ };
708
+ } & {
709
+ new (...args: any[]): {
710
+ content<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): T;
711
+ content(): HTMLElement;
712
+ swap(revert?: number | false): void;
713
+ accessKey: string;
714
+ readonly accessKeyLabel: string;
715
+ autocapitalize: string;
716
+ dir: string;
717
+ draggable: boolean;
718
+ hidden: boolean;
719
+ inert: boolean;
720
+ innerText: string;
721
+ lang: string;
722
+ readonly offsetHeight: number;
723
+ readonly offsetLeft: number;
724
+ readonly offsetParent: Element | null;
725
+ readonly offsetTop: number;
726
+ readonly offsetWidth: number;
727
+ outerText: string;
728
+ popover: string | null;
729
+ spellcheck: boolean;
730
+ title: string;
731
+ translate: boolean;
732
+ writingSuggestions: string;
733
+ attachInternals(): ElementInternals;
734
+ click(): void;
735
+ hidePopover(): void;
736
+ showPopover(): void;
737
+ togglePopover(options?: boolean): boolean;
738
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
739
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
740
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
741
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
742
+ readonly attributes: NamedNodeMap;
743
+ get classList(): DOMTokenList;
744
+ set classList(value: string);
745
+ className: string;
746
+ readonly clientHeight: number;
747
+ readonly clientLeft: number;
748
+ readonly clientTop: number;
749
+ readonly clientWidth: number;
750
+ readonly currentCSSZoom: number;
751
+ id: string;
752
+ innerHTML: string;
753
+ readonly localName: string;
754
+ readonly namespaceURI: string | null;
755
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
756
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
757
+ outerHTML: string;
758
+ readonly ownerDocument: Document;
759
+ get part(): DOMTokenList;
760
+ set part(value: string);
761
+ readonly prefix: string | null;
762
+ readonly scrollHeight: number;
763
+ scrollLeft: number;
764
+ scrollTop: number;
765
+ readonly scrollWidth: number;
766
+ readonly shadowRoot: ShadowRoot | null;
767
+ slot: string;
768
+ readonly tagName: string;
769
+ attachShadow(init: ShadowRootInit): ShadowRoot;
770
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
771
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
772
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
773
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
774
+ closest<E extends Element = Element>(selectors: string): E | null;
775
+ computedStyleMap(): StylePropertyMapReadOnly;
776
+ getAttribute(qualifiedName: string): string | null;
777
+ getAttributeNS(namespace: string | null, localName: string): string | null;
778
+ getAttributeNames(): string[];
779
+ getAttributeNode(qualifiedName: string): Attr | null;
780
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
781
+ getBoundingClientRect(): DOMRect;
782
+ getClientRects(): DOMRectList;
783
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
784
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
785
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
786
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
787
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
788
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
789
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
790
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
791
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
792
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
793
+ getHTML(options?: GetHTMLOptions): string;
794
+ hasAttribute(qualifiedName: string): boolean;
795
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
796
+ hasAttributes(): boolean;
797
+ hasPointerCapture(pointerId: number): boolean;
798
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
799
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
800
+ insertAdjacentText(where: InsertPosition, data: string): void;
801
+ matches(selectors: string): boolean;
802
+ releasePointerCapture(pointerId: number): void;
803
+ removeAttribute(qualifiedName: string): void;
804
+ removeAttributeNS(namespace: string | null, localName: string): void;
805
+ removeAttributeNode(attr: Attr): Attr;
806
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
807
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
808
+ scroll(options?: ScrollToOptions): void;
809
+ scroll(x: number, y: number): void;
810
+ scrollBy(options?: ScrollToOptions): void;
811
+ scrollBy(x: number, y: number): void;
812
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
813
+ scrollTo(options?: ScrollToOptions): void;
814
+ scrollTo(x: number, y: number): void;
815
+ setAttribute(qualifiedName: string, value: string): void;
816
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
817
+ setAttributeNode(attr: Attr): Attr | null;
818
+ setAttributeNodeNS(attr: Attr): Attr | null;
819
+ setHTMLUnsafe(html: string): void;
820
+ setPointerCapture(pointerId: number): void;
821
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
822
+ webkitMatchesSelector(selectors: string): boolean;
823
+ readonly baseURI: string;
824
+ readonly childNodes: NodeListOf<ChildNode>;
825
+ readonly firstChild: ChildNode | null;
826
+ readonly isConnected: boolean;
827
+ readonly lastChild: ChildNode | null;
828
+ readonly nextSibling: ChildNode | null;
829
+ readonly nodeName: string;
830
+ readonly nodeType: number;
831
+ nodeValue: string | null;
832
+ readonly parentElement: HTMLElement | null;
833
+ readonly parentNode: ParentNode | null;
834
+ readonly previousSibling: ChildNode | null;
835
+ textContent: string | null;
836
+ appendChild<T extends Node>(node: T): T;
837
+ cloneNode(subtree?: boolean): Node;
838
+ compareDocumentPosition(other: Node): number;
839
+ contains(other: Node | null): boolean;
840
+ getRootNode(options?: GetRootNodeOptions): Node;
841
+ hasChildNodes(): boolean;
842
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
843
+ isDefaultNamespace(namespace: string | null): boolean;
844
+ isEqualNode(otherNode: Node | null): boolean;
845
+ isSameNode(otherNode: Node | null): boolean;
846
+ lookupNamespaceURI(prefix: string | null): string | null;
847
+ lookupPrefix(namespace: string | null): string | null;
848
+ normalize(): void;
849
+ removeChild<T extends Node>(child: T): T;
850
+ replaceChild<T extends Node>(node: Node, child: T): T;
851
+ readonly ELEMENT_NODE: 1;
852
+ readonly ATTRIBUTE_NODE: 2;
853
+ readonly TEXT_NODE: 3;
854
+ readonly CDATA_SECTION_NODE: 4;
855
+ readonly ENTITY_REFERENCE_NODE: 5;
856
+ readonly ENTITY_NODE: 6;
857
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
858
+ readonly COMMENT_NODE: 8;
859
+ readonly DOCUMENT_NODE: 9;
860
+ readonly DOCUMENT_TYPE_NODE: 10;
861
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
862
+ readonly NOTATION_NODE: 12;
863
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
864
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
865
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
866
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
867
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
868
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
869
+ dispatchEvent(event: Event): boolean;
870
+ ariaAtomic: string | null;
871
+ ariaAutoComplete: string | null;
872
+ ariaBrailleLabel: string | null;
873
+ ariaBrailleRoleDescription: string | null;
874
+ ariaBusy: string | null;
875
+ ariaChecked: string | null;
876
+ ariaColCount: string | null;
877
+ ariaColIndex: string | null;
878
+ ariaColIndexText: string | null;
879
+ ariaColSpan: string | null;
880
+ ariaCurrent: string | null;
881
+ ariaDescription: string | null;
882
+ ariaDisabled: string | null;
883
+ ariaExpanded: string | null;
884
+ ariaHasPopup: string | null;
885
+ ariaHidden: string | null;
886
+ ariaInvalid: string | null;
887
+ ariaKeyShortcuts: string | null;
888
+ ariaLabel: string | null;
889
+ ariaLevel: string | null;
890
+ ariaLive: string | null;
891
+ ariaModal: string | null;
892
+ ariaMultiLine: string | null;
893
+ ariaMultiSelectable: string | null;
894
+ ariaOrientation: string | null;
895
+ ariaPlaceholder: string | null;
896
+ ariaPosInSet: string | null;
897
+ ariaPressed: string | null;
898
+ ariaReadOnly: string | null;
899
+ ariaRelevant: string | null;
900
+ ariaRequired: string | null;
901
+ ariaRoleDescription: string | null;
902
+ ariaRowCount: string | null;
903
+ ariaRowIndex: string | null;
904
+ ariaRowIndexText: string | null;
905
+ ariaRowSpan: string | null;
906
+ ariaSelected: string | null;
907
+ ariaSetSize: string | null;
908
+ ariaSort: string | null;
909
+ ariaValueMax: string | null;
910
+ ariaValueMin: string | null;
911
+ ariaValueNow: string | null;
912
+ ariaValueText: string | null;
913
+ role: string | null;
914
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
915
+ getAnimations(options?: GetAnimationsOptions): Animation[];
916
+ after(...nodes: (Node | string)[]): void;
917
+ before(...nodes: (Node | string)[]): void;
918
+ remove(): void;
919
+ replaceWith(...nodes: (Node | string)[]): void;
920
+ readonly nextElementSibling: Element | null;
921
+ readonly previousElementSibling: Element | null;
922
+ readonly childElementCount: number;
923
+ readonly children: HTMLCollection;
924
+ readonly firstElementChild: Element | null;
925
+ readonly lastElementChild: Element | null;
926
+ append(...nodes: (Node | string)[]): void;
927
+ prepend(...nodes: (Node | string)[]): void;
928
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
929
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
930
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
931
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
932
+ querySelector<E extends Element = Element>(selectors: string): E | null;
933
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
934
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
935
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
936
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
937
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
938
+ replaceChildren(...nodes: (Node | string)[]): void;
939
+ readonly assignedSlot: HTMLSlotElement | null;
940
+ readonly attributeStyleMap: StylePropertyMap;
941
+ get style(): CSSStyleDeclaration;
942
+ set style(cssText: string);
943
+ contentEditable: string;
944
+ enterKeyHint: string;
945
+ inputMode: string;
946
+ readonly isContentEditable: boolean;
947
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
948
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
949
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
950
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
951
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
952
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
953
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
954
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
955
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
956
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
957
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
958
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
959
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
960
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
961
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
962
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
963
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
964
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
965
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
966
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
967
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
968
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
969
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
970
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
971
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
972
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
973
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
974
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
975
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
976
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
977
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
978
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
979
+ onerror: OnErrorEventHandler;
980
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
981
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
982
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
983
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
984
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
985
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
986
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
987
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
988
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
989
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
990
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
991
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
992
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
993
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
994
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
995
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
996
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
997
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
998
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
999
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1000
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1001
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1002
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1003
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1004
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1005
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1006
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1007
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1008
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1009
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1010
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1011
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1012
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1013
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1014
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1015
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1016
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1017
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1018
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1019
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1020
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1021
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1022
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1023
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1024
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1025
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1026
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1027
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1028
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1029
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1030
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1031
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1032
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1033
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1034
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1035
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1036
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1037
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1038
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1039
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1040
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1041
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1042
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1043
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1044
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1045
+ autofocus: boolean;
1046
+ readonly dataset: DOMStringMap;
1047
+ nonce?: string;
1048
+ tabIndex: number;
1049
+ blur(): void;
1050
+ focus(options?: FocusOptions): void;
1051
+ };
1052
+ } & {
1053
+ new (...args: any[]): {
1054
+ announce(message: string): void;
1055
+ accessKey: string;
1056
+ readonly accessKeyLabel: string;
1057
+ autocapitalize: string;
1058
+ dir: string;
1059
+ draggable: boolean;
1060
+ hidden: boolean;
1061
+ inert: boolean;
1062
+ innerText: string;
1063
+ lang: string;
1064
+ readonly offsetHeight: number;
1065
+ readonly offsetLeft: number;
1066
+ readonly offsetParent: Element | null;
1067
+ readonly offsetTop: number;
1068
+ readonly offsetWidth: number;
1069
+ outerText: string;
1070
+ popover: string | null;
1071
+ spellcheck: boolean;
1072
+ title: string;
1073
+ translate: boolean;
1074
+ writingSuggestions: string;
1075
+ attachInternals(): ElementInternals;
1076
+ click(): void;
1077
+ hidePopover(): void;
1078
+ showPopover(): void;
1079
+ togglePopover(options?: boolean): boolean;
1080
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1081
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1082
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1083
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1084
+ readonly attributes: NamedNodeMap;
1085
+ get classList(): DOMTokenList;
1086
+ set classList(value: string);
1087
+ className: string;
1088
+ readonly clientHeight: number;
1089
+ readonly clientLeft: number;
1090
+ readonly clientTop: number;
1091
+ readonly clientWidth: number;
1092
+ readonly currentCSSZoom: number;
1093
+ id: string;
1094
+ innerHTML: string;
1095
+ readonly localName: string;
1096
+ readonly namespaceURI: string | null;
1097
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
1098
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
1099
+ outerHTML: string;
1100
+ readonly ownerDocument: Document;
1101
+ get part(): DOMTokenList;
1102
+ set part(value: string);
1103
+ readonly prefix: string | null;
1104
+ readonly scrollHeight: number;
1105
+ scrollLeft: number;
1106
+ scrollTop: number;
1107
+ readonly scrollWidth: number;
1108
+ readonly shadowRoot: ShadowRoot | null;
1109
+ slot: string;
1110
+ readonly tagName: string;
1111
+ attachShadow(init: ShadowRootInit): ShadowRoot;
1112
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
1113
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
1114
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
1115
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
1116
+ closest<E extends Element = Element>(selectors: string): E | null;
1117
+ computedStyleMap(): StylePropertyMapReadOnly;
1118
+ getAttribute(qualifiedName: string): string | null;
1119
+ getAttributeNS(namespace: string | null, localName: string): string | null;
1120
+ getAttributeNames(): string[];
1121
+ getAttributeNode(qualifiedName: string): Attr | null;
1122
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
1123
+ getBoundingClientRect(): DOMRect;
1124
+ getClientRects(): DOMRectList;
1125
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1126
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
1127
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
1128
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
1129
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
1130
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
1131
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
1132
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1133
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
1134
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
1135
+ getHTML(options?: GetHTMLOptions): string;
1136
+ hasAttribute(qualifiedName: string): boolean;
1137
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
1138
+ hasAttributes(): boolean;
1139
+ hasPointerCapture(pointerId: number): boolean;
1140
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
1141
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
1142
+ insertAdjacentText(where: InsertPosition, data: string): void;
1143
+ matches(selectors: string): boolean;
1144
+ releasePointerCapture(pointerId: number): void;
1145
+ removeAttribute(qualifiedName: string): void;
1146
+ removeAttributeNS(namespace: string | null, localName: string): void;
1147
+ removeAttributeNode(attr: Attr): Attr;
1148
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
1149
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
1150
+ scroll(options?: ScrollToOptions): void;
1151
+ scroll(x: number, y: number): void;
1152
+ scrollBy(options?: ScrollToOptions): void;
1153
+ scrollBy(x: number, y: number): void;
1154
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
1155
+ scrollTo(options?: ScrollToOptions): void;
1156
+ scrollTo(x: number, y: number): void;
1157
+ setAttribute(qualifiedName: string, value: string): void;
1158
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
1159
+ setAttributeNode(attr: Attr): Attr | null;
1160
+ setAttributeNodeNS(attr: Attr): Attr | null;
1161
+ setHTMLUnsafe(html: string): void;
1162
+ setPointerCapture(pointerId: number): void;
1163
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
1164
+ webkitMatchesSelector(selectors: string): boolean;
1165
+ readonly baseURI: string;
1166
+ readonly childNodes: NodeListOf<ChildNode>;
1167
+ readonly firstChild: ChildNode | null;
1168
+ readonly isConnected: boolean;
1169
+ readonly lastChild: ChildNode | null;
1170
+ readonly nextSibling: ChildNode | null;
1171
+ readonly nodeName: string;
1172
+ readonly nodeType: number;
1173
+ nodeValue: string | null;
1174
+ readonly parentElement: HTMLElement | null;
1175
+ readonly parentNode: ParentNode | null;
1176
+ readonly previousSibling: ChildNode | null;
1177
+ textContent: string | null;
1178
+ appendChild<T extends Node>(node: T): T;
1179
+ cloneNode(subtree?: boolean): Node;
1180
+ compareDocumentPosition(other: Node): number;
1181
+ contains(other: Node | null): boolean;
1182
+ getRootNode(options?: GetRootNodeOptions): Node;
1183
+ hasChildNodes(): boolean;
1184
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
1185
+ isDefaultNamespace(namespace: string | null): boolean;
1186
+ isEqualNode(otherNode: Node | null): boolean;
1187
+ isSameNode(otherNode: Node | null): boolean;
1188
+ lookupNamespaceURI(prefix: string | null): string | null;
1189
+ lookupPrefix(namespace: string | null): string | null;
1190
+ normalize(): void;
1191
+ removeChild<T extends Node>(child: T): T;
1192
+ replaceChild<T extends Node>(node: Node, child: T): T;
1193
+ readonly ELEMENT_NODE: 1;
1194
+ readonly ATTRIBUTE_NODE: 2;
1195
+ readonly TEXT_NODE: 3;
1196
+ readonly CDATA_SECTION_NODE: 4;
1197
+ readonly ENTITY_REFERENCE_NODE: 5;
1198
+ readonly ENTITY_NODE: 6;
1199
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
1200
+ readonly COMMENT_NODE: 8;
1201
+ readonly DOCUMENT_NODE: 9;
1202
+ readonly DOCUMENT_TYPE_NODE: 10;
1203
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
1204
+ readonly NOTATION_NODE: 12;
1205
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
1206
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
1207
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
1208
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
1209
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
1210
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
1211
+ dispatchEvent(event: Event): boolean;
1212
+ ariaAtomic: string | null;
1213
+ ariaAutoComplete: string | null;
1214
+ ariaBrailleLabel: string | null;
1215
+ ariaBrailleRoleDescription: string | null;
1216
+ ariaBusy: string | null;
1217
+ ariaChecked: string | null;
1218
+ ariaColCount: string | null;
1219
+ ariaColIndex: string | null;
1220
+ ariaColIndexText: string | null;
1221
+ ariaColSpan: string | null;
1222
+ ariaCurrent: string | null;
1223
+ ariaDescription: string | null;
1224
+ ariaDisabled: string | null;
1225
+ ariaExpanded: string | null;
1226
+ ariaHasPopup: string | null;
1227
+ ariaHidden: string | null;
1228
+ ariaInvalid: string | null;
1229
+ ariaKeyShortcuts: string | null;
1230
+ ariaLabel: string | null;
1231
+ ariaLevel: string | null;
1232
+ ariaLive: string | null;
1233
+ ariaModal: string | null;
1234
+ ariaMultiLine: string | null;
1235
+ ariaMultiSelectable: string | null;
1236
+ ariaOrientation: string | null;
1237
+ ariaPlaceholder: string | null;
1238
+ ariaPosInSet: string | null;
1239
+ ariaPressed: string | null;
1240
+ ariaReadOnly: string | null;
1241
+ ariaRelevant: string | null;
1242
+ ariaRequired: string | null;
1243
+ ariaRoleDescription: string | null;
1244
+ ariaRowCount: string | null;
1245
+ ariaRowIndex: string | null;
1246
+ ariaRowIndexText: string | null;
1247
+ ariaRowSpan: string | null;
1248
+ ariaSelected: string | null;
1249
+ ariaSetSize: string | null;
1250
+ ariaSort: string | null;
1251
+ ariaValueMax: string | null;
1252
+ ariaValueMin: string | null;
1253
+ ariaValueNow: string | null;
1254
+ ariaValueText: string | null;
1255
+ role: string | null;
1256
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1257
+ getAnimations(options?: GetAnimationsOptions): Animation[];
1258
+ after(...nodes: (Node | string)[]): void;
1259
+ before(...nodes: (Node | string)[]): void;
1260
+ remove(): void;
1261
+ replaceWith(...nodes: (Node | string)[]): void;
1262
+ readonly nextElementSibling: Element | null;
1263
+ readonly previousElementSibling: Element | null;
1264
+ readonly childElementCount: number;
1265
+ readonly children: HTMLCollection;
1266
+ readonly firstElementChild: Element | null;
1267
+ readonly lastElementChild: Element | null;
1268
+ append(...nodes: (Node | string)[]): void;
1269
+ prepend(...nodes: (Node | string)[]): void;
1270
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1271
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1272
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
1273
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
1274
+ querySelector<E extends Element = Element>(selectors: string): E | null;
1275
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
1276
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
1277
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
1278
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
1279
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
1280
+ replaceChildren(...nodes: (Node | string)[]): void;
1281
+ readonly assignedSlot: HTMLSlotElement | null;
1282
+ readonly attributeStyleMap: StylePropertyMap;
1283
+ get style(): CSSStyleDeclaration;
1284
+ set style(cssText: string);
1285
+ contentEditable: string;
1286
+ enterKeyHint: string;
1287
+ inputMode: string;
1288
+ readonly isContentEditable: boolean;
1289
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1290
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1291
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1292
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1293
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
1294
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1295
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
1296
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1297
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1298
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1299
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1300
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1301
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1302
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1303
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1304
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1305
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1306
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1307
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1308
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1309
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1310
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1311
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1312
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1313
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1314
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1315
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1316
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1317
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
1318
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1319
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1320
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1321
+ onerror: OnErrorEventHandler;
1322
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
1323
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
1324
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1325
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1326
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1327
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1328
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1329
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
1330
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1331
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1332
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1333
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1334
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1335
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1336
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1337
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1338
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1339
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1340
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1341
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1342
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1343
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1344
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1345
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1346
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1347
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1348
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1349
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1350
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1351
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1352
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1353
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1354
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1355
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1356
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1357
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1358
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1359
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1360
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1361
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1362
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1363
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1364
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1365
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1366
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1367
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1368
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1369
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1370
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1371
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1372
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1373
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1374
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1375
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1376
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1377
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1378
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1379
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1380
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1381
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1382
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1383
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1384
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1385
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1386
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1387
+ autofocus: boolean;
1388
+ readonly dataset: DOMStringMap;
1389
+ nonce?: string;
1390
+ tabIndex: number;
1391
+ blur(): void;
1392
+ focus(options?: FocusOptions): void;
1393
+ };
1394
+ "__#2@#announcer": import("../index.js").Announcer;
1395
+ } & import("../base/index.js").Constructor<HTMLElement>;
3
1396
  /**
4
1397
  * Uses the
5
1398
  * [Navigator API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)
6
- * to share a url. If `share` is not supported, falls back to copy the text instead.
1399
+ * to share the `url` if `navigator.share` is supported.
1400
+ *
1401
+ * Otherwise uses the
1402
+ * [Clipboard API](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText)
1403
+ * to copy the `url` or `text` provided.
7
1404
  *
8
1405
  * ### Attributes
9
1406
  *
10
- * `value`
1407
+ * `url`
1408
+ *
1409
+ * URL to share.
1410
+ *
1411
+ * `text`
1412
+ *
1413
+ * Text to copy, or the `ShareData` text if `url` is set (only supported on some targets).
1414
+ *
1415
+ * `share-title`
11
1416
  *
12
- * Text to share.
1417
+ * `ShareData` title (only supported on some targets).
13
1418
  */
14
- export declare class Share extends Copy {
1419
+ export declare class Share extends Share_base {
1420
+ #private;
15
1421
  constructor();
16
- /**
17
- * Shares or copies the `value`.
18
- * @param url The `url` to share, defaults to `this.value`
19
- */
20
- share(url?: string): Promise<void>;
21
1422
  mount(): void;
22
1423
  }
1424
+ export {};