drab 6.5.1 → 7.0.0

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 +22 -22
  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,10 +1,11 @@
1
- import { Base, type BaseAttributes } from "../base/index.js";
2
- export type EditorAttributes = BaseAttributes;
3
- export type EditorTriggerAttributes = {
1
+ import { type TriggerAttributes, type ContentAttributes } from "../base/index.js";
2
+ export interface EditorAttributes extends TriggerAttributes, ContentAttributes {
3
+ }
4
+ export interface EditorTriggerAttributes {
4
5
  "data-value": string;
5
6
  "data-key": string;
6
7
  "data-type": "block" | "wrap" | "inline";
7
- };
8
+ }
8
9
  /**
9
10
  * A piece of content to insert into the `textarea`.
10
11
  */
@@ -16,6 +17,1046 @@ export type ContentElement = {
16
17
  /** An optional keyboard shortcut. */
17
18
  key?: string;
18
19
  };
20
+ declare const Editor_base: {
21
+ new (...args: any[]): {
22
+ "__#1@#listenerController": AbortController;
23
+ safeListener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, event: HTMLElementEventMap[T]) => any, element?: HTMLElement, options?: AddEventListenerOptions): void;
24
+ safeListener<T extends keyof DocumentEventMap>(type: T, listener: (this: Document, event: DocumentEventMap[T]) => any, document: Document, options?: AddEventListenerOptions): void;
25
+ safeListener<T extends keyof WindowEventMap>(type: T, listener: (this: Window, event: WindowEventMap[T]) => any, window: Window, options?: AddEventListenerOptions): void;
26
+ mount(): void;
27
+ connectedCallback(): void;
28
+ destroy(): void;
29
+ disconnectedCallback(): void;
30
+ accessKey: string;
31
+ readonly accessKeyLabel: string;
32
+ autocapitalize: string;
33
+ dir: string;
34
+ draggable: boolean;
35
+ hidden: boolean;
36
+ inert: boolean;
37
+ innerText: string;
38
+ lang: string;
39
+ readonly offsetHeight: number;
40
+ readonly offsetLeft: number;
41
+ readonly offsetParent: Element | null;
42
+ readonly offsetTop: number;
43
+ readonly offsetWidth: number;
44
+ outerText: string;
45
+ popover: string | null;
46
+ spellcheck: boolean;
47
+ title: string;
48
+ translate: boolean;
49
+ writingSuggestions: string;
50
+ attachInternals(): ElementInternals;
51
+ click(): void;
52
+ hidePopover(): void;
53
+ showPopover(): void;
54
+ togglePopover(options?: boolean): boolean;
55
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
56
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
57
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
58
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
59
+ readonly attributes: NamedNodeMap;
60
+ get classList(): DOMTokenList;
61
+ set classList(value: string);
62
+ className: string;
63
+ readonly clientHeight: number;
64
+ readonly clientLeft: number;
65
+ readonly clientTop: number;
66
+ readonly clientWidth: number;
67
+ readonly currentCSSZoom: number;
68
+ id: string;
69
+ innerHTML: string;
70
+ readonly localName: string;
71
+ readonly namespaceURI: string | null;
72
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
73
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
74
+ outerHTML: string;
75
+ readonly ownerDocument: Document;
76
+ get part(): DOMTokenList;
77
+ set part(value: string);
78
+ readonly prefix: string | null;
79
+ readonly scrollHeight: number;
80
+ scrollLeft: number;
81
+ scrollTop: number;
82
+ readonly scrollWidth: number;
83
+ readonly shadowRoot: ShadowRoot | null;
84
+ slot: string;
85
+ readonly tagName: string;
86
+ attachShadow(init: ShadowRootInit): ShadowRoot;
87
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
88
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
89
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
90
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
91
+ closest<E extends Element = Element>(selectors: string): E | null;
92
+ computedStyleMap(): StylePropertyMapReadOnly;
93
+ getAttribute(qualifiedName: string): string | null;
94
+ getAttributeNS(namespace: string | null, localName: string): string | null;
95
+ getAttributeNames(): string[];
96
+ getAttributeNode(qualifiedName: string): Attr | null;
97
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
98
+ getBoundingClientRect(): DOMRect;
99
+ getClientRects(): DOMRectList;
100
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
101
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
102
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
103
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
104
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
105
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
106
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
107
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
108
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
109
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
110
+ getHTML(options?: GetHTMLOptions): string;
111
+ hasAttribute(qualifiedName: string): boolean;
112
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
113
+ hasAttributes(): boolean;
114
+ hasPointerCapture(pointerId: number): boolean;
115
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
116
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
117
+ insertAdjacentText(where: InsertPosition, data: string): void;
118
+ matches(selectors: string): boolean;
119
+ releasePointerCapture(pointerId: number): void;
120
+ removeAttribute(qualifiedName: string): void;
121
+ removeAttributeNS(namespace: string | null, localName: string): void;
122
+ removeAttributeNode(attr: Attr): Attr;
123
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
124
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
125
+ scroll(options?: ScrollToOptions): void;
126
+ scroll(x: number, y: number): void;
127
+ scrollBy(options?: ScrollToOptions): void;
128
+ scrollBy(x: number, y: number): void;
129
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
130
+ scrollTo(options?: ScrollToOptions): void;
131
+ scrollTo(x: number, y: number): void;
132
+ setAttribute(qualifiedName: string, value: string): void;
133
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
134
+ setAttributeNode(attr: Attr): Attr | null;
135
+ setAttributeNodeNS(attr: Attr): Attr | null;
136
+ setHTMLUnsafe(html: string): void;
137
+ setPointerCapture(pointerId: number): void;
138
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
139
+ webkitMatchesSelector(selectors: string): boolean;
140
+ readonly baseURI: string;
141
+ readonly childNodes: NodeListOf<ChildNode>;
142
+ readonly firstChild: ChildNode | null;
143
+ readonly isConnected: boolean;
144
+ readonly lastChild: ChildNode | null;
145
+ readonly nextSibling: ChildNode | null;
146
+ readonly nodeName: string;
147
+ readonly nodeType: number;
148
+ nodeValue: string | null;
149
+ readonly parentElement: HTMLElement | null;
150
+ readonly parentNode: ParentNode | null;
151
+ readonly previousSibling: ChildNode | null;
152
+ textContent: string | null;
153
+ appendChild<T extends Node>(node: T): T;
154
+ cloneNode(subtree?: boolean): Node;
155
+ compareDocumentPosition(other: Node): number;
156
+ contains(other: Node | null): boolean;
157
+ getRootNode(options?: GetRootNodeOptions): Node;
158
+ hasChildNodes(): boolean;
159
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
160
+ isDefaultNamespace(namespace: string | null): boolean;
161
+ isEqualNode(otherNode: Node | null): boolean;
162
+ isSameNode(otherNode: Node | null): boolean;
163
+ lookupNamespaceURI(prefix: string | null): string | null;
164
+ lookupPrefix(namespace: string | null): string | null;
165
+ normalize(): void;
166
+ removeChild<T extends Node>(child: T): T;
167
+ replaceChild<T extends Node>(node: Node, child: T): T;
168
+ readonly ELEMENT_NODE: 1;
169
+ readonly ATTRIBUTE_NODE: 2;
170
+ readonly TEXT_NODE: 3;
171
+ readonly CDATA_SECTION_NODE: 4;
172
+ readonly ENTITY_REFERENCE_NODE: 5;
173
+ readonly ENTITY_NODE: 6;
174
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
175
+ readonly COMMENT_NODE: 8;
176
+ readonly DOCUMENT_NODE: 9;
177
+ readonly DOCUMENT_TYPE_NODE: 10;
178
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
179
+ readonly NOTATION_NODE: 12;
180
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
181
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
182
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
183
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
184
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
185
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
186
+ dispatchEvent(event: Event): boolean;
187
+ ariaAtomic: string | null;
188
+ ariaAutoComplete: string | null;
189
+ ariaBrailleLabel: string | null;
190
+ ariaBrailleRoleDescription: string | null;
191
+ ariaBusy: string | null;
192
+ ariaChecked: string | null;
193
+ ariaColCount: string | null;
194
+ ariaColIndex: string | null;
195
+ ariaColIndexText: string | null;
196
+ ariaColSpan: string | null;
197
+ ariaCurrent: string | null;
198
+ ariaDescription: string | null;
199
+ ariaDisabled: string | null;
200
+ ariaExpanded: string | null;
201
+ ariaHasPopup: string | null;
202
+ ariaHidden: string | null;
203
+ ariaInvalid: string | null;
204
+ ariaKeyShortcuts: string | null;
205
+ ariaLabel: string | null;
206
+ ariaLevel: string | null;
207
+ ariaLive: string | null;
208
+ ariaModal: string | null;
209
+ ariaMultiLine: string | null;
210
+ ariaMultiSelectable: string | null;
211
+ ariaOrientation: string | null;
212
+ ariaPlaceholder: string | null;
213
+ ariaPosInSet: string | null;
214
+ ariaPressed: string | null;
215
+ ariaReadOnly: string | null;
216
+ ariaRelevant: string | null;
217
+ ariaRequired: string | null;
218
+ ariaRoleDescription: string | null;
219
+ ariaRowCount: string | null;
220
+ ariaRowIndex: string | null;
221
+ ariaRowIndexText: string | null;
222
+ ariaRowSpan: string | null;
223
+ ariaSelected: string | null;
224
+ ariaSetSize: string | null;
225
+ ariaSort: string | null;
226
+ ariaValueMax: string | null;
227
+ ariaValueMin: string | null;
228
+ ariaValueNow: string | null;
229
+ ariaValueText: string | null;
230
+ role: string | null;
231
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
232
+ getAnimations(options?: GetAnimationsOptions): Animation[];
233
+ after(...nodes: (Node | string)[]): void;
234
+ before(...nodes: (Node | string)[]): void;
235
+ remove(): void;
236
+ replaceWith(...nodes: (Node | string)[]): void;
237
+ readonly nextElementSibling: Element | null;
238
+ readonly previousElementSibling: Element | null;
239
+ readonly childElementCount: number;
240
+ readonly children: HTMLCollection;
241
+ readonly firstElementChild: Element | null;
242
+ readonly lastElementChild: Element | null;
243
+ append(...nodes: (Node | string)[]): void;
244
+ prepend(...nodes: (Node | string)[]): void;
245
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
246
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
247
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
248
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
249
+ querySelector<E extends Element = Element>(selectors: string): E | null;
250
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
251
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
252
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
253
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
254
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
255
+ replaceChildren(...nodes: (Node | string)[]): void;
256
+ readonly assignedSlot: HTMLSlotElement | null;
257
+ readonly attributeStyleMap: StylePropertyMap;
258
+ get style(): CSSStyleDeclaration;
259
+ set style(cssText: string);
260
+ contentEditable: string;
261
+ enterKeyHint: string;
262
+ inputMode: string;
263
+ readonly isContentEditable: boolean;
264
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
265
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
266
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
267
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
268
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
269
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
270
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
271
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
272
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
273
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
277
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
278
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
281
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
283
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
285
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
286
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
287
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
288
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
289
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
290
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
291
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
292
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
294
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
295
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
296
+ onerror: OnErrorEventHandler;
297
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
298
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
299
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
300
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
303
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
304
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
305
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
306
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
309
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
310
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
311
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
312
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
313
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
314
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
315
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
316
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
318
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
319
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
320
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
322
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
324
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
325
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
326
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
327
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
330
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
333
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
334
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
335
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
336
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
342
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
344
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
348
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
349
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
350
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
351
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
352
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
353
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
354
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
355
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
357
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
359
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
360
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
361
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
362
+ autofocus: boolean;
363
+ readonly dataset: DOMStringMap;
364
+ nonce?: string;
365
+ tabIndex: number;
366
+ blur(): void;
367
+ focus(options?: FocusOptions): void;
368
+ };
369
+ } & {
370
+ new (...args: any[]): {
371
+ event: keyof HTMLElementEventMap;
372
+ triggers<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): NodeListOf<T>;
373
+ triggers(): NodeListOf<HTMLElement>;
374
+ listener<T extends keyof HTMLElementEventMap>(listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
375
+ listener<T extends keyof HTMLElementEventMap>(type: T, listener: (this: HTMLElement, e: HTMLElementEventMap[T]) => any, options?: AddEventListenerOptions): void;
376
+ accessKey: string;
377
+ readonly accessKeyLabel: string;
378
+ autocapitalize: string;
379
+ dir: string;
380
+ draggable: boolean;
381
+ hidden: boolean;
382
+ inert: boolean;
383
+ innerText: string;
384
+ lang: string;
385
+ readonly offsetHeight: number;
386
+ readonly offsetLeft: number;
387
+ readonly offsetParent: Element | null;
388
+ readonly offsetTop: number;
389
+ readonly offsetWidth: number;
390
+ outerText: string;
391
+ popover: string | null;
392
+ spellcheck: boolean;
393
+ title: string;
394
+ translate: boolean;
395
+ writingSuggestions: string;
396
+ attachInternals(): ElementInternals;
397
+ click(): void;
398
+ hidePopover(): void;
399
+ showPopover(): void;
400
+ togglePopover(options?: boolean): boolean;
401
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
402
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
403
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
404
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
405
+ readonly attributes: NamedNodeMap;
406
+ get classList(): DOMTokenList;
407
+ set classList(value: string);
408
+ className: string;
409
+ readonly clientHeight: number;
410
+ readonly clientLeft: number;
411
+ readonly clientTop: number;
412
+ readonly clientWidth: number;
413
+ readonly currentCSSZoom: number;
414
+ id: string;
415
+ innerHTML: string;
416
+ readonly localName: string;
417
+ readonly namespaceURI: string | null;
418
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
419
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
420
+ outerHTML: string;
421
+ readonly ownerDocument: Document;
422
+ get part(): DOMTokenList;
423
+ set part(value: string);
424
+ readonly prefix: string | null;
425
+ readonly scrollHeight: number;
426
+ scrollLeft: number;
427
+ scrollTop: number;
428
+ readonly scrollWidth: number;
429
+ readonly shadowRoot: ShadowRoot | null;
430
+ slot: string;
431
+ readonly tagName: string;
432
+ attachShadow(init: ShadowRootInit): ShadowRoot;
433
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
434
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
435
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
436
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
437
+ closest<E extends Element = Element>(selectors: string): E | null;
438
+ computedStyleMap(): StylePropertyMapReadOnly;
439
+ getAttribute(qualifiedName: string): string | null;
440
+ getAttributeNS(namespace: string | null, localName: string): string | null;
441
+ getAttributeNames(): string[];
442
+ getAttributeNode(qualifiedName: string): Attr | null;
443
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
444
+ getBoundingClientRect(): DOMRect;
445
+ getClientRects(): DOMRectList;
446
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
447
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
448
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
449
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
450
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
451
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
452
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
453
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
454
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
455
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
456
+ getHTML(options?: GetHTMLOptions): string;
457
+ hasAttribute(qualifiedName: string): boolean;
458
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
459
+ hasAttributes(): boolean;
460
+ hasPointerCapture(pointerId: number): boolean;
461
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
462
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
463
+ insertAdjacentText(where: InsertPosition, data: string): void;
464
+ matches(selectors: string): boolean;
465
+ releasePointerCapture(pointerId: number): void;
466
+ removeAttribute(qualifiedName: string): void;
467
+ removeAttributeNS(namespace: string | null, localName: string): void;
468
+ removeAttributeNode(attr: Attr): Attr;
469
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
470
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
471
+ scroll(options?: ScrollToOptions): void;
472
+ scroll(x: number, y: number): void;
473
+ scrollBy(options?: ScrollToOptions): void;
474
+ scrollBy(x: number, y: number): void;
475
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
476
+ scrollTo(options?: ScrollToOptions): void;
477
+ scrollTo(x: number, y: number): void;
478
+ setAttribute(qualifiedName: string, value: string): void;
479
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
480
+ setAttributeNode(attr: Attr): Attr | null;
481
+ setAttributeNodeNS(attr: Attr): Attr | null;
482
+ setHTMLUnsafe(html: string): void;
483
+ setPointerCapture(pointerId: number): void;
484
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
485
+ webkitMatchesSelector(selectors: string): boolean;
486
+ readonly baseURI: string;
487
+ readonly childNodes: NodeListOf<ChildNode>;
488
+ readonly firstChild: ChildNode | null;
489
+ readonly isConnected: boolean;
490
+ readonly lastChild: ChildNode | null;
491
+ readonly nextSibling: ChildNode | null;
492
+ readonly nodeName: string;
493
+ readonly nodeType: number;
494
+ nodeValue: string | null;
495
+ readonly parentElement: HTMLElement | null;
496
+ readonly parentNode: ParentNode | null;
497
+ readonly previousSibling: ChildNode | null;
498
+ textContent: string | null;
499
+ appendChild<T extends Node>(node: T): T;
500
+ cloneNode(subtree?: boolean): Node;
501
+ compareDocumentPosition(other: Node): number;
502
+ contains(other: Node | null): boolean;
503
+ getRootNode(options?: GetRootNodeOptions): Node;
504
+ hasChildNodes(): boolean;
505
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
506
+ isDefaultNamespace(namespace: string | null): boolean;
507
+ isEqualNode(otherNode: Node | null): boolean;
508
+ isSameNode(otherNode: Node | null): boolean;
509
+ lookupNamespaceURI(prefix: string | null): string | null;
510
+ lookupPrefix(namespace: string | null): string | null;
511
+ normalize(): void;
512
+ removeChild<T extends Node>(child: T): T;
513
+ replaceChild<T extends Node>(node: Node, child: T): T;
514
+ readonly ELEMENT_NODE: 1;
515
+ readonly ATTRIBUTE_NODE: 2;
516
+ readonly TEXT_NODE: 3;
517
+ readonly CDATA_SECTION_NODE: 4;
518
+ readonly ENTITY_REFERENCE_NODE: 5;
519
+ readonly ENTITY_NODE: 6;
520
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
521
+ readonly COMMENT_NODE: 8;
522
+ readonly DOCUMENT_NODE: 9;
523
+ readonly DOCUMENT_TYPE_NODE: 10;
524
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
525
+ readonly NOTATION_NODE: 12;
526
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
527
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
528
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
529
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
530
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
531
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
532
+ dispatchEvent(event: Event): boolean;
533
+ ariaAtomic: string | null;
534
+ ariaAutoComplete: string | null;
535
+ ariaBrailleLabel: string | null;
536
+ ariaBrailleRoleDescription: string | null;
537
+ ariaBusy: string | null;
538
+ ariaChecked: string | null;
539
+ ariaColCount: string | null;
540
+ ariaColIndex: string | null;
541
+ ariaColIndexText: string | null;
542
+ ariaColSpan: string | null;
543
+ ariaCurrent: string | null;
544
+ ariaDescription: string | null;
545
+ ariaDisabled: string | null;
546
+ ariaExpanded: string | null;
547
+ ariaHasPopup: string | null;
548
+ ariaHidden: string | null;
549
+ ariaInvalid: string | null;
550
+ ariaKeyShortcuts: string | null;
551
+ ariaLabel: string | null;
552
+ ariaLevel: string | null;
553
+ ariaLive: string | null;
554
+ ariaModal: string | null;
555
+ ariaMultiLine: string | null;
556
+ ariaMultiSelectable: string | null;
557
+ ariaOrientation: string | null;
558
+ ariaPlaceholder: string | null;
559
+ ariaPosInSet: string | null;
560
+ ariaPressed: string | null;
561
+ ariaReadOnly: string | null;
562
+ ariaRelevant: string | null;
563
+ ariaRequired: string | null;
564
+ ariaRoleDescription: string | null;
565
+ ariaRowCount: string | null;
566
+ ariaRowIndex: string | null;
567
+ ariaRowIndexText: string | null;
568
+ ariaRowSpan: string | null;
569
+ ariaSelected: string | null;
570
+ ariaSetSize: string | null;
571
+ ariaSort: string | null;
572
+ ariaValueMax: string | null;
573
+ ariaValueMin: string | null;
574
+ ariaValueNow: string | null;
575
+ ariaValueText: string | null;
576
+ role: string | null;
577
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
578
+ getAnimations(options?: GetAnimationsOptions): Animation[];
579
+ after(...nodes: (Node | string)[]): void;
580
+ before(...nodes: (Node | string)[]): void;
581
+ remove(): void;
582
+ replaceWith(...nodes: (Node | string)[]): void;
583
+ readonly nextElementSibling: Element | null;
584
+ readonly previousElementSibling: Element | null;
585
+ readonly childElementCount: number;
586
+ readonly children: HTMLCollection;
587
+ readonly firstElementChild: Element | null;
588
+ readonly lastElementChild: Element | null;
589
+ append(...nodes: (Node | string)[]): void;
590
+ prepend(...nodes: (Node | string)[]): void;
591
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
592
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
593
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
594
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
595
+ querySelector<E extends Element = Element>(selectors: string): E | null;
596
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
597
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
598
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
599
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
600
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
601
+ replaceChildren(...nodes: (Node | string)[]): void;
602
+ readonly assignedSlot: HTMLSlotElement | null;
603
+ readonly attributeStyleMap: StylePropertyMap;
604
+ get style(): CSSStyleDeclaration;
605
+ set style(cssText: string);
606
+ contentEditable: string;
607
+ enterKeyHint: string;
608
+ inputMode: string;
609
+ readonly isContentEditable: boolean;
610
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
611
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
612
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
613
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
614
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
615
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
616
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
617
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
618
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
619
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
620
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
621
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
622
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
623
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
624
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
625
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
626
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
627
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
628
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
629
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
630
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
631
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
632
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
633
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
634
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
635
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
636
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
637
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
638
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
639
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
640
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
641
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
642
+ onerror: OnErrorEventHandler;
643
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
644
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
645
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
646
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
647
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
648
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
649
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
650
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
651
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
652
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
653
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
654
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
655
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
656
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
657
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
658
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
659
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
660
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
661
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
662
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
663
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
664
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
665
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
666
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
667
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
668
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
669
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
670
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
671
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
672
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
673
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
674
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
675
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
676
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
677
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
678
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
679
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
680
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
681
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
682
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
683
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
684
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
685
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
686
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
687
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
688
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
689
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
690
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
691
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
692
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
693
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
694
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
695
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
696
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
697
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
698
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
699
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
700
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
701
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
702
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
703
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
704
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
705
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
706
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
707
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
708
+ autofocus: boolean;
709
+ readonly dataset: DOMStringMap;
710
+ nonce?: string;
711
+ tabIndex: number;
712
+ blur(): void;
713
+ focus(options?: FocusOptions): void;
714
+ };
715
+ } & {
716
+ new (...args: any[]): {
717
+ content<T extends HTMLElement>(instance: import("../base/index.js").Constructor<T>): T;
718
+ content(): HTMLElement;
719
+ swap(revert?: number | false): void;
720
+ accessKey: string;
721
+ readonly accessKeyLabel: string;
722
+ autocapitalize: string;
723
+ dir: string;
724
+ draggable: boolean;
725
+ hidden: boolean;
726
+ inert: boolean;
727
+ innerText: string;
728
+ lang: string;
729
+ readonly offsetHeight: number;
730
+ readonly offsetLeft: number;
731
+ readonly offsetParent: Element | null;
732
+ readonly offsetTop: number;
733
+ readonly offsetWidth: number;
734
+ outerText: string;
735
+ popover: string | null;
736
+ spellcheck: boolean;
737
+ title: string;
738
+ translate: boolean;
739
+ writingSuggestions: string;
740
+ attachInternals(): ElementInternals;
741
+ click(): void;
742
+ hidePopover(): void;
743
+ showPopover(): void;
744
+ togglePopover(options?: boolean): boolean;
745
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
746
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
747
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
748
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
749
+ readonly attributes: NamedNodeMap;
750
+ get classList(): DOMTokenList;
751
+ set classList(value: string);
752
+ className: string;
753
+ readonly clientHeight: number;
754
+ readonly clientLeft: number;
755
+ readonly clientTop: number;
756
+ readonly clientWidth: number;
757
+ readonly currentCSSZoom: number;
758
+ id: string;
759
+ innerHTML: string;
760
+ readonly localName: string;
761
+ readonly namespaceURI: string | null;
762
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
763
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
764
+ outerHTML: string;
765
+ readonly ownerDocument: Document;
766
+ get part(): DOMTokenList;
767
+ set part(value: string);
768
+ readonly prefix: string | null;
769
+ readonly scrollHeight: number;
770
+ scrollLeft: number;
771
+ scrollTop: number;
772
+ readonly scrollWidth: number;
773
+ readonly shadowRoot: ShadowRoot | null;
774
+ slot: string;
775
+ readonly tagName: string;
776
+ attachShadow(init: ShadowRootInit): ShadowRoot;
777
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
778
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
779
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
780
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
781
+ closest<E extends Element = Element>(selectors: string): E | null;
782
+ computedStyleMap(): StylePropertyMapReadOnly;
783
+ getAttribute(qualifiedName: string): string | null;
784
+ getAttributeNS(namespace: string | null, localName: string): string | null;
785
+ getAttributeNames(): string[];
786
+ getAttributeNode(qualifiedName: string): Attr | null;
787
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
788
+ getBoundingClientRect(): DOMRect;
789
+ getClientRects(): DOMRectList;
790
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
791
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
792
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
793
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
794
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
795
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
796
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
797
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
798
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
799
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
800
+ getHTML(options?: GetHTMLOptions): string;
801
+ hasAttribute(qualifiedName: string): boolean;
802
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
803
+ hasAttributes(): boolean;
804
+ hasPointerCapture(pointerId: number): boolean;
805
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
806
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
807
+ insertAdjacentText(where: InsertPosition, data: string): void;
808
+ matches(selectors: string): boolean;
809
+ releasePointerCapture(pointerId: number): void;
810
+ removeAttribute(qualifiedName: string): void;
811
+ removeAttributeNS(namespace: string | null, localName: string): void;
812
+ removeAttributeNode(attr: Attr): Attr;
813
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
814
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
815
+ scroll(options?: ScrollToOptions): void;
816
+ scroll(x: number, y: number): void;
817
+ scrollBy(options?: ScrollToOptions): void;
818
+ scrollBy(x: number, y: number): void;
819
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
820
+ scrollTo(options?: ScrollToOptions): void;
821
+ scrollTo(x: number, y: number): void;
822
+ setAttribute(qualifiedName: string, value: string): void;
823
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
824
+ setAttributeNode(attr: Attr): Attr | null;
825
+ setAttributeNodeNS(attr: Attr): Attr | null;
826
+ setHTMLUnsafe(html: string): void;
827
+ setPointerCapture(pointerId: number): void;
828
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
829
+ webkitMatchesSelector(selectors: string): boolean;
830
+ readonly baseURI: string;
831
+ readonly childNodes: NodeListOf<ChildNode>;
832
+ readonly firstChild: ChildNode | null;
833
+ readonly isConnected: boolean;
834
+ readonly lastChild: ChildNode | null;
835
+ readonly nextSibling: ChildNode | null;
836
+ readonly nodeName: string;
837
+ readonly nodeType: number;
838
+ nodeValue: string | null;
839
+ readonly parentElement: HTMLElement | null;
840
+ readonly parentNode: ParentNode | null;
841
+ readonly previousSibling: ChildNode | null;
842
+ textContent: string | null;
843
+ appendChild<T extends Node>(node: T): T;
844
+ cloneNode(subtree?: boolean): Node;
845
+ compareDocumentPosition(other: Node): number;
846
+ contains(other: Node | null): boolean;
847
+ getRootNode(options?: GetRootNodeOptions): Node;
848
+ hasChildNodes(): boolean;
849
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
850
+ isDefaultNamespace(namespace: string | null): boolean;
851
+ isEqualNode(otherNode: Node | null): boolean;
852
+ isSameNode(otherNode: Node | null): boolean;
853
+ lookupNamespaceURI(prefix: string | null): string | null;
854
+ lookupPrefix(namespace: string | null): string | null;
855
+ normalize(): void;
856
+ removeChild<T extends Node>(child: T): T;
857
+ replaceChild<T extends Node>(node: Node, child: T): T;
858
+ readonly ELEMENT_NODE: 1;
859
+ readonly ATTRIBUTE_NODE: 2;
860
+ readonly TEXT_NODE: 3;
861
+ readonly CDATA_SECTION_NODE: 4;
862
+ readonly ENTITY_REFERENCE_NODE: 5;
863
+ readonly ENTITY_NODE: 6;
864
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
865
+ readonly COMMENT_NODE: 8;
866
+ readonly DOCUMENT_NODE: 9;
867
+ readonly DOCUMENT_TYPE_NODE: 10;
868
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
869
+ readonly NOTATION_NODE: 12;
870
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
871
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
872
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
873
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
874
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
875
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
876
+ dispatchEvent(event: Event): boolean;
877
+ ariaAtomic: string | null;
878
+ ariaAutoComplete: string | null;
879
+ ariaBrailleLabel: string | null;
880
+ ariaBrailleRoleDescription: string | null;
881
+ ariaBusy: string | null;
882
+ ariaChecked: string | null;
883
+ ariaColCount: string | null;
884
+ ariaColIndex: string | null;
885
+ ariaColIndexText: string | null;
886
+ ariaColSpan: string | null;
887
+ ariaCurrent: string | null;
888
+ ariaDescription: string | null;
889
+ ariaDisabled: string | null;
890
+ ariaExpanded: string | null;
891
+ ariaHasPopup: string | null;
892
+ ariaHidden: string | null;
893
+ ariaInvalid: string | null;
894
+ ariaKeyShortcuts: string | null;
895
+ ariaLabel: string | null;
896
+ ariaLevel: string | null;
897
+ ariaLive: string | null;
898
+ ariaModal: string | null;
899
+ ariaMultiLine: string | null;
900
+ ariaMultiSelectable: string | null;
901
+ ariaOrientation: string | null;
902
+ ariaPlaceholder: string | null;
903
+ ariaPosInSet: string | null;
904
+ ariaPressed: string | null;
905
+ ariaReadOnly: string | null;
906
+ ariaRelevant: string | null;
907
+ ariaRequired: string | null;
908
+ ariaRoleDescription: string | null;
909
+ ariaRowCount: string | null;
910
+ ariaRowIndex: string | null;
911
+ ariaRowIndexText: string | null;
912
+ ariaRowSpan: string | null;
913
+ ariaSelected: string | null;
914
+ ariaSetSize: string | null;
915
+ ariaSort: string | null;
916
+ ariaValueMax: string | null;
917
+ ariaValueMin: string | null;
918
+ ariaValueNow: string | null;
919
+ ariaValueText: string | null;
920
+ role: string | null;
921
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
922
+ getAnimations(options?: GetAnimationsOptions): Animation[];
923
+ after(...nodes: (Node | string)[]): void;
924
+ before(...nodes: (Node | string)[]): void;
925
+ remove(): void;
926
+ replaceWith(...nodes: (Node | string)[]): void;
927
+ readonly nextElementSibling: Element | null;
928
+ readonly previousElementSibling: Element | null;
929
+ readonly childElementCount: number;
930
+ readonly children: HTMLCollection;
931
+ readonly firstElementChild: Element | null;
932
+ readonly lastElementChild: Element | null;
933
+ append(...nodes: (Node | string)[]): void;
934
+ prepend(...nodes: (Node | string)[]): void;
935
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
936
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
937
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
938
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
939
+ querySelector<E extends Element = Element>(selectors: string): E | null;
940
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
941
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
942
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
943
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
944
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
945
+ replaceChildren(...nodes: (Node | string)[]): void;
946
+ readonly assignedSlot: HTMLSlotElement | null;
947
+ readonly attributeStyleMap: StylePropertyMap;
948
+ get style(): CSSStyleDeclaration;
949
+ set style(cssText: string);
950
+ contentEditable: string;
951
+ enterKeyHint: string;
952
+ inputMode: string;
953
+ readonly isContentEditable: boolean;
954
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
955
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
956
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
957
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
958
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
959
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
960
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
961
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
962
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
963
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
964
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
965
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
966
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
967
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
968
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
969
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
970
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
971
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
972
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
973
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
974
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
975
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
976
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
977
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
978
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
979
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
980
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
981
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
982
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
983
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
984
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
985
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
986
+ onerror: OnErrorEventHandler;
987
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
988
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
989
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
990
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
991
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
992
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
993
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
994
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
995
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
996
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
997
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
998
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
999
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1000
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1001
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1002
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1003
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1004
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1005
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1006
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
1007
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
1008
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1009
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1010
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1011
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1012
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1013
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1014
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1015
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1016
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1017
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1018
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
1019
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
1020
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1021
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1022
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
1023
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1024
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1025
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
1026
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1027
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1028
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1029
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1030
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1031
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1032
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1033
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
1034
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1035
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1036
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1037
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1038
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1039
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1040
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
1041
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1042
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1043
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1044
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
1045
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1046
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1047
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1048
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1049
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1050
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
1051
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
1052
+ autofocus: boolean;
1053
+ readonly dataset: DOMStringMap;
1054
+ nonce?: string;
1055
+ tabIndex: number;
1056
+ blur(): void;
1057
+ focus(options?: FocusOptions): void;
1058
+ };
1059
+ } & import("../base/index.js").Constructor<HTMLElement>;
19
1060
  /**
20
1061
  * Enhances the `textarea` element with controls to add content and keyboard shortcuts. Compared to other WYSIWYG editors, the `text` value is just a `string`, so you can easily store it in a database or manipulate it without learning a separate API.
21
1062
  *
@@ -53,15 +1094,9 @@ export type ContentElement = {
53
1094
  * Add a `ctrl`/`meta` keyboard shortcut for the content based on the `data-key` attribute.
54
1095
  *
55
1096
  */
56
- export declare class Editor extends Base {
1097
+ export declare class Editor extends Editor_base {
57
1098
  #private;
58
- /** Characters that will be automatically closed when typed. */
59
- keyPairs: Record<string, string>;
60
1099
  constructor();
61
- /** The `content`, expects an `HTMLTextAreaElement`. */
62
- get textArea(): HTMLTextAreaElement;
63
- /** The current `value` of the `textarea`. */
64
- get text(): string;
65
- set text(value: string);
66
1100
  mount(): void;
67
1101
  }
1102
+ export {};