runtime-dom.d.ts 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. import { SetupContext, RenderFunction, ComputedOptions, MethodOptions, ComponentOptionsMixin, EmitsOptions, ComponentInjectOptions, SlotsType, ComponentOptionsWithoutProps, ComponentOptionsWithArrayProps, ComponentPropsOptions, ComponentOptionsWithObjectProps, ExtractPropTypes, ComponentPublicInstance, ComponentInternalInstance, RootHydrateFunction, ConcreteComponent, BaseTransitionProps, FunctionalComponent, ObjectDirective, VNodeRef, RootRenderFunction, CreateAppFunction } from '@vue/runtime-core';
  2. export * from '@vue/runtime-core';
  3. import * as CSS from 'csstype';
  4. export type VueElementConstructor<P = {}> = {
  5. new (initialProps?: Record<string, any>): VueElement & P;
  6. };
  7. export declare function defineCustomElement<Props, RawBindings = object>(setup: (props: Readonly<Props>, ctx: SetupContext) => RawBindings | RenderFunction): VueElementConstructor<Props>;
  8. export declare function defineCustomElement<Props = {}, RawBindings = {}, D = {}, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = EmitsOptions, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, S extends SlotsType = {}>(options: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II, S> & {
  9. styles?: string[];
  10. }): VueElementConstructor<Props>;
  11. export declare function defineCustomElement<PropNames extends string, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, S extends SlotsType = {}>(options: ComponentOptionsWithArrayProps<PropNames, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II, S> & {
  12. styles?: string[];
  13. }): VueElementConstructor<{
  14. [K in PropNames]: any;
  15. }>;
  16. export declare function defineCustomElement<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string, I extends ComponentInjectOptions = {}, II extends string = string, S extends SlotsType = {}>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE, I, II, S> & {
  17. styles?: string[];
  18. }): VueElementConstructor<ExtractPropTypes<PropsOptions>>;
  19. export declare function defineCustomElement(options: {
  20. new (...args: any[]): ComponentPublicInstance;
  21. }): VueElementConstructor;
  22. export declare const defineSSRCustomElement: typeof defineCustomElement;
  23. declare const BaseClass: {
  24. new (): HTMLElement;
  25. prototype: HTMLElement;
  26. };
  27. type InnerComponentDef = ConcreteComponent & {
  28. styles?: string[];
  29. };
  30. export declare class VueElement extends BaseClass {
  31. private _def;
  32. private _props;
  33. /* removed internal: _instance */
  34. private _connected;
  35. private _resolved;
  36. private _numberProps;
  37. private _styles?;
  38. constructor(_def: InnerComponentDef, _props?: Record<string, any>, hydrate?: RootHydrateFunction);
  39. connectedCallback(): void;
  40. disconnectedCallback(): void;
  41. /**
  42. * resolve inner component definition (handle possible async component)
  43. */
  44. private _resolveDef;
  45. private _resolveProps;
  46. protected _setAttr(key: string): void;
  47. /* removed internal: _getProp */
  48. /* removed internal: _setProp */
  49. private _update;
  50. private _createVNode;
  51. private _applyStyles;
  52. }
  53. export declare function useCssModule(name?: string): Record<string, string>;
  54. /**
  55. * Runtime helper for SFC's CSS variable injection feature.
  56. * @private
  57. */
  58. export declare function useCssVars(getter: (ctx: any) => Record<string, string>): void;
  59. declare const TRANSITION = "transition";
  60. declare const ANIMATION = "animation";
  61. type AnimationTypes = typeof TRANSITION | typeof ANIMATION;
  62. export interface TransitionProps extends BaseTransitionProps<Element> {
  63. name?: string;
  64. type?: AnimationTypes;
  65. css?: boolean;
  66. duration?: number | {
  67. enter: number;
  68. leave: number;
  69. };
  70. enterFromClass?: string;
  71. enterActiveClass?: string;
  72. enterToClass?: string;
  73. appearFromClass?: string;
  74. appearActiveClass?: string;
  75. appearToClass?: string;
  76. leaveFromClass?: string;
  77. leaveActiveClass?: string;
  78. leaveToClass?: string;
  79. }
  80. export declare const Transition: FunctionalComponent<TransitionProps>;
  81. export type TransitionGroupProps = Omit<TransitionProps, 'mode'> & {
  82. tag?: string;
  83. moveClass?: string;
  84. };
  85. export declare const TransitionGroup: new () => {
  86. $props: TransitionGroupProps;
  87. };
  88. type AssignerFn = (value: any) => void;
  89. type ModelDirective<T> = ObjectDirective<T & {
  90. _assign: AssignerFn;
  91. }>;
  92. export declare const vModelText: ModelDirective<HTMLInputElement | HTMLTextAreaElement>;
  93. export declare const vModelCheckbox: ModelDirective<HTMLInputElement>;
  94. export declare const vModelRadio: ModelDirective<HTMLInputElement>;
  95. export declare const vModelSelect: ModelDirective<HTMLSelectElement>;
  96. export declare const vModelDynamic: ObjectDirective<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>;
  97. /**
  98. * @private
  99. */
  100. export declare const withModifiers: (fn: Function, modifiers: string[]) => (event: Event, ...args: unknown[]) => any;
  101. /**
  102. * @private
  103. */
  104. export declare const withKeys: (fn: Function, modifiers: string[]) => (event: KeyboardEvent) => any;
  105. interface VShowElement extends HTMLElement {
  106. _vod: string;
  107. }
  108. export declare const vShow: ObjectDirective<VShowElement>;
  109. export interface CSSProperties extends CSS.Properties<string | number>, CSS.PropertiesHyphen<string | number> {
  110. /**
  111. * The index signature was removed to enable closed typing for style
  112. * using CSSType. You're able to use type assertion or module augmentation
  113. * to add properties or an index signature of your own.
  114. *
  115. * For examples and more information, visit:
  116. * https://github.com/frenic/csstype#what-should-i-do-when-i-get-type-errors
  117. */
  118. [v: `--${string}`]: string | number | undefined;
  119. }
  120. type Booleanish = boolean | 'true' | 'false';
  121. type Numberish = number | string;
  122. interface AriaAttributes {
  123. /** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
  124. 'aria-activedescendant'?: string;
  125. /** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
  126. 'aria-atomic'?: Booleanish;
  127. /**
  128. * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be
  129. * presented if they are made.
  130. */
  131. 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both';
  132. /** Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user. */
  133. 'aria-busy'?: Booleanish;
  134. /**
  135. * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
  136. * @see aria-pressed @see aria-selected.
  137. */
  138. 'aria-checked'?: Booleanish | 'mixed';
  139. /**
  140. * Defines the total number of columns in a table, grid, or treegrid.
  141. * @see aria-colindex.
  142. */
  143. 'aria-colcount'?: Numberish;
  144. /**
  145. * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
  146. * @see aria-colcount @see aria-colspan.
  147. */
  148. 'aria-colindex'?: Numberish;
  149. /**
  150. * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
  151. * @see aria-colindex @see aria-rowspan.
  152. */
  153. 'aria-colspan'?: Numberish;
  154. /**
  155. * Identifies the element (or elements) whose contents or presence are controlled by the current element.
  156. * @see aria-owns.
  157. */
  158. 'aria-controls'?: string;
  159. /** Indicates the element that represents the current item within a container or set of related elements. */
  160. 'aria-current'?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time';
  161. /**
  162. * Identifies the element (or elements) that describes the object.
  163. * @see aria-labelledby
  164. */
  165. 'aria-describedby'?: string;
  166. /**
  167. * Identifies the element that provides a detailed, extended description for the object.
  168. * @see aria-describedby.
  169. */
  170. 'aria-details'?: string;
  171. /**
  172. * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
  173. * @see aria-hidden @see aria-readonly.
  174. */
  175. 'aria-disabled'?: Booleanish;
  176. /**
  177. * Indicates what functions can be performed when a dragged object is released on the drop target.
  178. * @deprecated in ARIA 1.1
  179. */
  180. 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
  181. /**
  182. * Identifies the element that provides an error message for the object.
  183. * @see aria-invalid @see aria-describedby.
  184. */
  185. 'aria-errormessage'?: string;
  186. /** Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. */
  187. 'aria-expanded'?: Booleanish;
  188. /**
  189. * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
  190. * allows assistive technology to override the general default of reading in document source order.
  191. */
  192. 'aria-flowto'?: string;
  193. /**
  194. * Indicates an element's "grabbed" state in a drag-and-drop operation.
  195. * @deprecated in ARIA 1.1
  196. */
  197. 'aria-grabbed'?: Booleanish;
  198. /** Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. */
  199. 'aria-haspopup'?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
  200. /**
  201. * Indicates whether the element is exposed to an accessibility API.
  202. * @see aria-disabled.
  203. */
  204. 'aria-hidden'?: Booleanish;
  205. /**
  206. * Indicates the entered value does not conform to the format expected by the application.
  207. * @see aria-errormessage.
  208. */
  209. 'aria-invalid'?: Booleanish | 'grammar' | 'spelling';
  210. /** Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. */
  211. 'aria-keyshortcuts'?: string;
  212. /**
  213. * Defines a string value that labels the current element.
  214. * @see aria-labelledby.
  215. */
  216. 'aria-label'?: string;
  217. /**
  218. * Identifies the element (or elements) that labels the current element.
  219. * @see aria-describedby.
  220. */
  221. 'aria-labelledby'?: string;
  222. /** Defines the hierarchical level of an element within a structure. */
  223. 'aria-level'?: Numberish;
  224. /** Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. */
  225. 'aria-live'?: 'off' | 'assertive' | 'polite';
  226. /** Indicates whether an element is modal when displayed. */
  227. 'aria-modal'?: Booleanish;
  228. /** Indicates whether a text box accepts multiple lines of input or only a single line. */
  229. 'aria-multiline'?: Booleanish;
  230. /** Indicates that the user may select more than one item from the current selectable descendants. */
  231. 'aria-multiselectable'?: Booleanish;
  232. /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
  233. 'aria-orientation'?: 'horizontal' | 'vertical';
  234. /**
  235. * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
  236. * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
  237. * @see aria-controls.
  238. */
  239. 'aria-owns'?: string;
  240. /**
  241. * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
  242. * A hint could be a sample value or a brief description of the expected format.
  243. */
  244. 'aria-placeholder'?: string;
  245. /**
  246. * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
  247. * @see aria-setsize.
  248. */
  249. 'aria-posinset'?: Numberish;
  250. /**
  251. * Indicates the current "pressed" state of toggle buttons.
  252. * @see aria-checked @see aria-selected.
  253. */
  254. 'aria-pressed'?: Booleanish | 'mixed';
  255. /**
  256. * Indicates that the element is not editable, but is otherwise operable.
  257. * @see aria-disabled.
  258. */
  259. 'aria-readonly'?: Booleanish;
  260. /**
  261. * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
  262. * @see aria-atomic.
  263. */
  264. 'aria-relevant'?: 'additions' | 'additions text' | 'all' | 'removals' | 'text';
  265. /** Indicates that user input is required on the element before a form may be submitted. */
  266. 'aria-required'?: Booleanish;
  267. /** Defines a human-readable, author-localized description for the role of an element. */
  268. 'aria-roledescription'?: string;
  269. /**
  270. * Defines the total number of rows in a table, grid, or treegrid.
  271. * @see aria-rowindex.
  272. */
  273. 'aria-rowcount'?: Numberish;
  274. /**
  275. * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
  276. * @see aria-rowcount @see aria-rowspan.
  277. */
  278. 'aria-rowindex'?: Numberish;
  279. /**
  280. * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
  281. * @see aria-rowindex @see aria-colspan.
  282. */
  283. 'aria-rowspan'?: Numberish;
  284. /**
  285. * Indicates the current "selected" state of various widgets.
  286. * @see aria-checked @see aria-pressed.
  287. */
  288. 'aria-selected'?: Booleanish;
  289. /**
  290. * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
  291. * @see aria-posinset.
  292. */
  293. 'aria-setsize'?: Numberish;
  294. /** Indicates if items in a table or grid are sorted in ascending or descending order. */
  295. 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other';
  296. /** Defines the maximum allowed value for a range widget. */
  297. 'aria-valuemax'?: Numberish;
  298. /** Defines the minimum allowed value for a range widget. */
  299. 'aria-valuemin'?: Numberish;
  300. /**
  301. * Defines the current value for a range widget.
  302. * @see aria-valuetext.
  303. */
  304. 'aria-valuenow'?: Numberish;
  305. /** Defines the human readable text alternative of aria-valuenow for a range widget. */
  306. 'aria-valuetext'?: string;
  307. }
  308. export type StyleValue = string | CSSProperties | Array<StyleValue>;
  309. export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
  310. innerHTML?: string;
  311. class?: any;
  312. style?: StyleValue;
  313. accesskey?: string;
  314. contenteditable?: Booleanish | 'inherit';
  315. contextmenu?: string;
  316. dir?: string;
  317. draggable?: Booleanish;
  318. hidden?: Booleanish;
  319. id?: string;
  320. lang?: string;
  321. placeholder?: string;
  322. spellcheck?: Booleanish;
  323. tabindex?: Numberish;
  324. title?: string;
  325. translate?: 'yes' | 'no';
  326. radiogroup?: string;
  327. role?: string;
  328. about?: string;
  329. datatype?: string;
  330. inlist?: any;
  331. prefix?: string;
  332. property?: string;
  333. resource?: string;
  334. typeof?: string;
  335. vocab?: string;
  336. autocapitalize?: string;
  337. autocorrect?: string;
  338. autosave?: string;
  339. color?: string;
  340. itemprop?: string;
  341. itemscope?: Booleanish;
  342. itemtype?: string;
  343. itemid?: string;
  344. itemref?: string;
  345. results?: Numberish;
  346. security?: string;
  347. unselectable?: 'on' | 'off';
  348. /**
  349. * Hints at the type of data that might be entered by the user while editing the element or its contents
  350. * @see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
  351. */
  352. inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
  353. /**
  354. * Specify that a standard HTML element should behave like a defined custom built-in element
  355. * @see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
  356. */
  357. is?: string;
  358. }
  359. type HTMLAttributeReferrerPolicy = '' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url';
  360. export interface AnchorHTMLAttributes extends HTMLAttributes {
  361. download?: any;
  362. href?: string;
  363. hreflang?: string;
  364. media?: string;
  365. ping?: string;
  366. rel?: string;
  367. target?: string;
  368. type?: string;
  369. referrerpolicy?: HTMLAttributeReferrerPolicy;
  370. }
  371. export interface AreaHTMLAttributes extends HTMLAttributes {
  372. alt?: string;
  373. coords?: string;
  374. download?: any;
  375. href?: string;
  376. hreflang?: string;
  377. media?: string;
  378. referrerpolicy?: HTMLAttributeReferrerPolicy;
  379. rel?: string;
  380. shape?: string;
  381. target?: string;
  382. }
  383. export interface AudioHTMLAttributes extends MediaHTMLAttributes {
  384. }
  385. export interface BaseHTMLAttributes extends HTMLAttributes {
  386. href?: string;
  387. target?: string;
  388. }
  389. export interface BlockquoteHTMLAttributes extends HTMLAttributes {
  390. cite?: string;
  391. }
  392. export interface ButtonHTMLAttributes extends HTMLAttributes {
  393. autofocus?: Booleanish;
  394. disabled?: Booleanish;
  395. form?: string;
  396. formaction?: string;
  397. formenctype?: string;
  398. formmethod?: string;
  399. formnovalidate?: Booleanish;
  400. formtarget?: string;
  401. name?: string;
  402. type?: 'submit' | 'reset' | 'button';
  403. value?: string | string[] | number;
  404. }
  405. export interface CanvasHTMLAttributes extends HTMLAttributes {
  406. height?: Numberish;
  407. width?: Numberish;
  408. }
  409. export interface ColHTMLAttributes extends HTMLAttributes {
  410. span?: Numberish;
  411. width?: Numberish;
  412. }
  413. export interface ColgroupHTMLAttributes extends HTMLAttributes {
  414. span?: Numberish;
  415. }
  416. export interface DataHTMLAttributes extends HTMLAttributes {
  417. value?: string | string[] | number;
  418. }
  419. export interface DetailsHTMLAttributes extends HTMLAttributes {
  420. open?: Booleanish;
  421. }
  422. export interface DelHTMLAttributes extends HTMLAttributes {
  423. cite?: string;
  424. datetime?: string;
  425. }
  426. export interface DialogHTMLAttributes extends HTMLAttributes {
  427. open?: Booleanish;
  428. }
  429. export interface EmbedHTMLAttributes extends HTMLAttributes {
  430. height?: Numberish;
  431. src?: string;
  432. type?: string;
  433. width?: Numberish;
  434. }
  435. export interface FieldsetHTMLAttributes extends HTMLAttributes {
  436. disabled?: Booleanish;
  437. form?: string;
  438. name?: string;
  439. }
  440. export interface FormHTMLAttributes extends HTMLAttributes {
  441. acceptcharset?: string;
  442. action?: string;
  443. autocomplete?: string;
  444. enctype?: string;
  445. method?: string;
  446. name?: string;
  447. novalidate?: Booleanish;
  448. target?: string;
  449. }
  450. export interface HtmlHTMLAttributes extends HTMLAttributes {
  451. manifest?: string;
  452. }
  453. export interface IframeHTMLAttributes extends HTMLAttributes {
  454. allow?: string;
  455. allowfullscreen?: Booleanish;
  456. allowtransparency?: Booleanish;
  457. frameborder?: Numberish;
  458. height?: Numberish;
  459. marginheight?: Numberish;
  460. marginwidth?: Numberish;
  461. name?: string;
  462. referrerpolicy?: HTMLAttributeReferrerPolicy;
  463. sandbox?: string;
  464. scrolling?: string;
  465. seamless?: Booleanish;
  466. src?: string;
  467. srcdoc?: string;
  468. width?: Numberish;
  469. }
  470. export interface ImgHTMLAttributes extends HTMLAttributes {
  471. alt?: string;
  472. crossorigin?: 'anonymous' | 'use-credentials' | '';
  473. decoding?: 'async' | 'auto' | 'sync';
  474. height?: Numberish;
  475. referrerpolicy?: HTMLAttributeReferrerPolicy;
  476. sizes?: string;
  477. src?: string;
  478. srcset?: string;
  479. usemap?: string;
  480. width?: Numberish;
  481. }
  482. export interface InsHTMLAttributes extends HTMLAttributes {
  483. cite?: string;
  484. datetime?: string;
  485. }
  486. export interface InputHTMLAttributes extends HTMLAttributes {
  487. accept?: string;
  488. alt?: string;
  489. autocomplete?: string;
  490. autofocus?: Booleanish;
  491. capture?: boolean | 'user' | 'environment';
  492. checked?: Booleanish | any[] | Set<any>;
  493. crossorigin?: string;
  494. disabled?: Booleanish;
  495. form?: string;
  496. formaction?: string;
  497. formenctype?: string;
  498. formmethod?: string;
  499. formnovalidate?: Booleanish;
  500. formtarget?: string;
  501. height?: Numberish;
  502. indeterminate?: boolean;
  503. list?: string;
  504. max?: Numberish;
  505. maxlength?: Numberish;
  506. min?: Numberish;
  507. minlength?: Numberish;
  508. multiple?: Booleanish;
  509. name?: string;
  510. pattern?: string;
  511. placeholder?: string;
  512. readonly?: Booleanish;
  513. required?: Booleanish;
  514. size?: Numberish;
  515. src?: string;
  516. step?: Numberish;
  517. type?: string;
  518. value?: any;
  519. width?: Numberish;
  520. }
  521. export interface KeygenHTMLAttributes extends HTMLAttributes {
  522. autofocus?: Booleanish;
  523. challenge?: string;
  524. disabled?: Booleanish;
  525. form?: string;
  526. keytype?: string;
  527. keyparams?: string;
  528. name?: string;
  529. }
  530. export interface LabelHTMLAttributes extends HTMLAttributes {
  531. for?: string;
  532. form?: string;
  533. }
  534. export interface LiHTMLAttributes extends HTMLAttributes {
  535. value?: string | string[] | number;
  536. }
  537. export interface LinkHTMLAttributes extends HTMLAttributes {
  538. as?: string;
  539. crossorigin?: string;
  540. href?: string;
  541. hreflang?: string;
  542. integrity?: string;
  543. media?: string;
  544. referrerpolicy?: HTMLAttributeReferrerPolicy;
  545. rel?: string;
  546. sizes?: string;
  547. type?: string;
  548. }
  549. export interface MapHTMLAttributes extends HTMLAttributes {
  550. name?: string;
  551. }
  552. export interface MenuHTMLAttributes extends HTMLAttributes {
  553. type?: string;
  554. }
  555. export interface MediaHTMLAttributes extends HTMLAttributes {
  556. autoplay?: Booleanish;
  557. controls?: Booleanish;
  558. controlslist?: string;
  559. crossorigin?: string;
  560. loop?: Booleanish;
  561. mediagroup?: string;
  562. muted?: Booleanish;
  563. playsinline?: Booleanish;
  564. preload?: string;
  565. src?: string;
  566. }
  567. export interface MetaHTMLAttributes extends HTMLAttributes {
  568. charset?: string;
  569. content?: string;
  570. httpequiv?: string;
  571. name?: string;
  572. }
  573. export interface MeterHTMLAttributes extends HTMLAttributes {
  574. form?: string;
  575. high?: Numberish;
  576. low?: Numberish;
  577. max?: Numberish;
  578. min?: Numberish;
  579. optimum?: Numberish;
  580. value?: string | string[] | number;
  581. }
  582. export interface QuoteHTMLAttributes extends HTMLAttributes {
  583. cite?: string;
  584. }
  585. export interface ObjectHTMLAttributes extends HTMLAttributes {
  586. classid?: string;
  587. data?: string;
  588. form?: string;
  589. height?: Numberish;
  590. name?: string;
  591. type?: string;
  592. usemap?: string;
  593. width?: Numberish;
  594. wmode?: string;
  595. }
  596. export interface OlHTMLAttributes extends HTMLAttributes {
  597. reversed?: Booleanish;
  598. start?: Numberish;
  599. type?: '1' | 'a' | 'A' | 'i' | 'I';
  600. }
  601. export interface OptgroupHTMLAttributes extends HTMLAttributes {
  602. disabled?: Booleanish;
  603. label?: string;
  604. }
  605. export interface OptionHTMLAttributes extends HTMLAttributes {
  606. disabled?: Booleanish;
  607. label?: string;
  608. selected?: Booleanish;
  609. value?: any;
  610. }
  611. export interface OutputHTMLAttributes extends HTMLAttributes {
  612. for?: string;
  613. form?: string;
  614. name?: string;
  615. }
  616. export interface ParamHTMLAttributes extends HTMLAttributes {
  617. name?: string;
  618. value?: string | string[] | number;
  619. }
  620. export interface ProgressHTMLAttributes extends HTMLAttributes {
  621. max?: Numberish;
  622. value?: string | string[] | number;
  623. }
  624. export interface ScriptHTMLAttributes extends HTMLAttributes {
  625. async?: Booleanish;
  626. charset?: string;
  627. crossorigin?: string;
  628. defer?: Booleanish;
  629. integrity?: string;
  630. nomodule?: Booleanish;
  631. referrerpolicy?: HTMLAttributeReferrerPolicy;
  632. nonce?: string;
  633. src?: string;
  634. type?: string;
  635. }
  636. export interface SelectHTMLAttributes extends HTMLAttributes {
  637. autocomplete?: string;
  638. autofocus?: Booleanish;
  639. disabled?: Booleanish;
  640. form?: string;
  641. multiple?: Booleanish;
  642. name?: string;
  643. required?: Booleanish;
  644. size?: Numberish;
  645. value?: any;
  646. }
  647. export interface SourceHTMLAttributes extends HTMLAttributes {
  648. media?: string;
  649. sizes?: string;
  650. src?: string;
  651. srcset?: string;
  652. type?: string;
  653. }
  654. export interface StyleHTMLAttributes extends HTMLAttributes {
  655. media?: string;
  656. nonce?: string;
  657. scoped?: Booleanish;
  658. type?: string;
  659. }
  660. export interface TableHTMLAttributes extends HTMLAttributes {
  661. cellpadding?: Numberish;
  662. cellspacing?: Numberish;
  663. summary?: string;
  664. }
  665. export interface TextareaHTMLAttributes extends HTMLAttributes {
  666. autocomplete?: string;
  667. autofocus?: Booleanish;
  668. cols?: Numberish;
  669. dirname?: string;
  670. disabled?: Booleanish;
  671. form?: string;
  672. maxlength?: Numberish;
  673. minlength?: Numberish;
  674. name?: string;
  675. placeholder?: string;
  676. readonly?: boolean;
  677. required?: Booleanish;
  678. rows?: Numberish;
  679. value?: string | string[] | number;
  680. wrap?: string;
  681. }
  682. export interface TdHTMLAttributes extends HTMLAttributes {
  683. align?: 'left' | 'center' | 'right' | 'justify' | 'char';
  684. colspan?: Numberish;
  685. headers?: string;
  686. rowspan?: Numberish;
  687. scope?: string;
  688. valign?: 'top' | 'middle' | 'bottom' | 'baseline';
  689. }
  690. export interface ThHTMLAttributes extends HTMLAttributes {
  691. align?: 'left' | 'center' | 'right' | 'justify' | 'char';
  692. colspan?: Numberish;
  693. headers?: string;
  694. rowspan?: Numberish;
  695. scope?: string;
  696. }
  697. export interface TimeHTMLAttributes extends HTMLAttributes {
  698. datetime?: string;
  699. }
  700. export interface TrackHTMLAttributes extends HTMLAttributes {
  701. default?: Booleanish;
  702. kind?: string;
  703. label?: string;
  704. src?: string;
  705. srclang?: string;
  706. }
  707. export interface VideoHTMLAttributes extends MediaHTMLAttributes {
  708. height?: Numberish;
  709. playsinline?: Booleanish;
  710. poster?: string;
  711. width?: Numberish;
  712. disablePictureInPicture?: Booleanish;
  713. }
  714. export interface WebViewHTMLAttributes extends HTMLAttributes {
  715. allowfullscreen?: Booleanish;
  716. allowpopups?: Booleanish;
  717. autoFocus?: Booleanish;
  718. autosize?: Booleanish;
  719. blinkfeatures?: string;
  720. disableblinkfeatures?: string;
  721. disableguestresize?: Booleanish;
  722. disablewebsecurity?: Booleanish;
  723. guestinstance?: string;
  724. httpreferrer?: string;
  725. nodeintegration?: Booleanish;
  726. partition?: string;
  727. plugins?: Booleanish;
  728. preload?: string;
  729. src?: string;
  730. useragent?: string;
  731. webpreferences?: string;
  732. }
  733. export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
  734. innerHTML?: string;
  735. /**
  736. * SVG Styling Attributes
  737. * @see https://www.w3.org/TR/SVG/styling.html#ElementSpecificStyling
  738. */
  739. class?: any;
  740. style?: string | CSSProperties;
  741. color?: string;
  742. height?: Numberish;
  743. id?: string;
  744. lang?: string;
  745. max?: Numberish;
  746. media?: string;
  747. method?: string;
  748. min?: Numberish;
  749. name?: string;
  750. target?: string;
  751. type?: string;
  752. width?: Numberish;
  753. role?: string;
  754. tabindex?: Numberish;
  755. 'accent-height'?: Numberish;
  756. accumulate?: 'none' | 'sum';
  757. additive?: 'replace' | 'sum';
  758. 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit';
  759. allowReorder?: 'no' | 'yes';
  760. alphabetic?: Numberish;
  761. amplitude?: Numberish;
  762. 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated';
  763. ascent?: Numberish;
  764. attributeName?: string;
  765. attributeType?: string;
  766. autoReverse?: Numberish;
  767. azimuth?: Numberish;
  768. baseFrequency?: Numberish;
  769. 'baseline-shift'?: Numberish;
  770. baseProfile?: Numberish;
  771. bbox?: Numberish;
  772. begin?: Numberish;
  773. bias?: Numberish;
  774. by?: Numberish;
  775. calcMode?: Numberish;
  776. 'cap-height'?: Numberish;
  777. clip?: Numberish;
  778. 'clip-path'?: string;
  779. clipPathUnits?: Numberish;
  780. 'clip-rule'?: Numberish;
  781. 'color-interpolation'?: Numberish;
  782. 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit';
  783. 'color-profile'?: Numberish;
  784. 'color-rendering'?: Numberish;
  785. contentScriptType?: Numberish;
  786. contentStyleType?: Numberish;
  787. cursor?: Numberish;
  788. cx?: Numberish;
  789. cy?: Numberish;
  790. d?: string;
  791. decelerate?: Numberish;
  792. descent?: Numberish;
  793. diffuseConstant?: Numberish;
  794. direction?: Numberish;
  795. display?: Numberish;
  796. divisor?: Numberish;
  797. 'dominant-baseline'?: Numberish;
  798. dur?: Numberish;
  799. dx?: Numberish;
  800. dy?: Numberish;
  801. edgeMode?: Numberish;
  802. elevation?: Numberish;
  803. 'enable-background'?: Numberish;
  804. end?: Numberish;
  805. exponent?: Numberish;
  806. externalResourcesRequired?: Numberish;
  807. fill?: string;
  808. 'fill-opacity'?: Numberish;
  809. 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit';
  810. filter?: string;
  811. filterRes?: Numberish;
  812. filterUnits?: Numberish;
  813. 'flood-color'?: Numberish;
  814. 'flood-opacity'?: Numberish;
  815. focusable?: Numberish;
  816. 'font-family'?: string;
  817. 'font-size'?: Numberish;
  818. 'font-size-adjust'?: Numberish;
  819. 'font-stretch'?: Numberish;
  820. 'font-style'?: Numberish;
  821. 'font-variant'?: Numberish;
  822. 'font-weight'?: Numberish;
  823. format?: Numberish;
  824. from?: Numberish;
  825. fx?: Numberish;
  826. fy?: Numberish;
  827. g1?: Numberish;
  828. g2?: Numberish;
  829. 'glyph-name'?: Numberish;
  830. 'glyph-orientation-horizontal'?: Numberish;
  831. 'glyph-orientation-vertical'?: Numberish;
  832. glyphRef?: Numberish;
  833. gradientTransform?: string;
  834. gradientUnits?: string;
  835. hanging?: Numberish;
  836. 'horiz-adv-x'?: Numberish;
  837. 'horiz-origin-x'?: Numberish;
  838. href?: string;
  839. ideographic?: Numberish;
  840. 'image-rendering'?: Numberish;
  841. in2?: Numberish;
  842. in?: string;
  843. intercept?: Numberish;
  844. k1?: Numberish;
  845. k2?: Numberish;
  846. k3?: Numberish;
  847. k4?: Numberish;
  848. k?: Numberish;
  849. kernelMatrix?: Numberish;
  850. kernelUnitLength?: Numberish;
  851. kerning?: Numberish;
  852. keyPoints?: Numberish;
  853. keySplines?: Numberish;
  854. keyTimes?: Numberish;
  855. lengthAdjust?: Numberish;
  856. 'letter-spacing'?: Numberish;
  857. 'lighting-color'?: Numberish;
  858. limitingConeAngle?: Numberish;
  859. local?: Numberish;
  860. 'marker-end'?: string;
  861. markerHeight?: Numberish;
  862. 'marker-mid'?: string;
  863. 'marker-start'?: string;
  864. markerUnits?: Numberish;
  865. markerWidth?: Numberish;
  866. mask?: string;
  867. maskContentUnits?: Numberish;
  868. maskUnits?: Numberish;
  869. mathematical?: Numberish;
  870. mode?: Numberish;
  871. numOctaves?: Numberish;
  872. offset?: Numberish;
  873. opacity?: Numberish;
  874. operator?: Numberish;
  875. order?: Numberish;
  876. orient?: Numberish;
  877. orientation?: Numberish;
  878. origin?: Numberish;
  879. overflow?: Numberish;
  880. 'overline-position'?: Numberish;
  881. 'overline-thickness'?: Numberish;
  882. 'paint-order'?: Numberish;
  883. 'panose-1'?: Numberish;
  884. pathLength?: Numberish;
  885. patternContentUnits?: string;
  886. patternTransform?: Numberish;
  887. patternUnits?: string;
  888. 'pointer-events'?: Numberish;
  889. points?: string;
  890. pointsAtX?: Numberish;
  891. pointsAtY?: Numberish;
  892. pointsAtZ?: Numberish;
  893. preserveAlpha?: Numberish;
  894. preserveAspectRatio?: string;
  895. primitiveUnits?: Numberish;
  896. r?: Numberish;
  897. radius?: Numberish;
  898. refX?: Numberish;
  899. refY?: Numberish;
  900. renderingIntent?: Numberish;
  901. repeatCount?: Numberish;
  902. repeatDur?: Numberish;
  903. requiredExtensions?: Numberish;
  904. requiredFeatures?: Numberish;
  905. restart?: Numberish;
  906. result?: string;
  907. rotate?: Numberish;
  908. rx?: Numberish;
  909. ry?: Numberish;
  910. scale?: Numberish;
  911. seed?: Numberish;
  912. 'shape-rendering'?: Numberish;
  913. slope?: Numberish;
  914. spacing?: Numberish;
  915. specularConstant?: Numberish;
  916. specularExponent?: Numberish;
  917. speed?: Numberish;
  918. spreadMethod?: string;
  919. startOffset?: Numberish;
  920. stdDeviation?: Numberish;
  921. stemh?: Numberish;
  922. stemv?: Numberish;
  923. stitchTiles?: Numberish;
  924. 'stop-color'?: string;
  925. 'stop-opacity'?: Numberish;
  926. 'strikethrough-position'?: Numberish;
  927. 'strikethrough-thickness'?: Numberish;
  928. string?: Numberish;
  929. stroke?: string;
  930. 'stroke-dasharray'?: Numberish;
  931. 'stroke-dashoffset'?: Numberish;
  932. 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit';
  933. 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit';
  934. 'stroke-miterlimit'?: Numberish;
  935. 'stroke-opacity'?: Numberish;
  936. 'stroke-width'?: Numberish;
  937. surfaceScale?: Numberish;
  938. systemLanguage?: Numberish;
  939. tableValues?: Numberish;
  940. targetX?: Numberish;
  941. targetY?: Numberish;
  942. 'text-anchor'?: string;
  943. 'text-decoration'?: Numberish;
  944. textLength?: Numberish;
  945. 'text-rendering'?: Numberish;
  946. to?: Numberish;
  947. transform?: string;
  948. u1?: Numberish;
  949. u2?: Numberish;
  950. 'underline-position'?: Numberish;
  951. 'underline-thickness'?: Numberish;
  952. unicode?: Numberish;
  953. 'unicode-bidi'?: Numberish;
  954. 'unicode-range'?: Numberish;
  955. 'unitsPer-em'?: Numberish;
  956. 'v-alphabetic'?: Numberish;
  957. values?: string;
  958. 'vector-effect'?: Numberish;
  959. version?: string;
  960. 'vert-adv-y'?: Numberish;
  961. 'vert-origin-x'?: Numberish;
  962. 'vert-origin-y'?: Numberish;
  963. 'v-hanging'?: Numberish;
  964. 'v-ideographic'?: Numberish;
  965. viewBox?: string;
  966. viewTarget?: Numberish;
  967. visibility?: Numberish;
  968. 'v-mathematical'?: Numberish;
  969. widths?: Numberish;
  970. 'word-spacing'?: Numberish;
  971. 'writing-mode'?: Numberish;
  972. x1?: Numberish;
  973. x2?: Numberish;
  974. x?: Numberish;
  975. xChannelSelector?: string;
  976. 'x-height'?: Numberish;
  977. xlinkActuate?: string;
  978. xlinkArcrole?: string;
  979. xlinkHref?: string;
  980. xlinkRole?: string;
  981. xlinkShow?: string;
  982. xlinkTitle?: string;
  983. xlinkType?: string;
  984. xmlns?: string;
  985. y1?: Numberish;
  986. y2?: Numberish;
  987. y?: Numberish;
  988. yChannelSelector?: string;
  989. z?: Numberish;
  990. zoomAndPan?: string;
  991. }
  992. export interface IntrinsicElementAttributes {
  993. a: AnchorHTMLAttributes;
  994. abbr: HTMLAttributes;
  995. address: HTMLAttributes;
  996. area: AreaHTMLAttributes;
  997. article: HTMLAttributes;
  998. aside: HTMLAttributes;
  999. audio: AudioHTMLAttributes;
  1000. b: HTMLAttributes;
  1001. base: BaseHTMLAttributes;
  1002. bdi: HTMLAttributes;
  1003. bdo: HTMLAttributes;
  1004. blockquote: BlockquoteHTMLAttributes;
  1005. body: HTMLAttributes;
  1006. br: HTMLAttributes;
  1007. button: ButtonHTMLAttributes;
  1008. canvas: CanvasHTMLAttributes;
  1009. caption: HTMLAttributes;
  1010. cite: HTMLAttributes;
  1011. code: HTMLAttributes;
  1012. col: ColHTMLAttributes;
  1013. colgroup: ColgroupHTMLAttributes;
  1014. data: DataHTMLAttributes;
  1015. datalist: HTMLAttributes;
  1016. dd: HTMLAttributes;
  1017. del: DelHTMLAttributes;
  1018. details: DetailsHTMLAttributes;
  1019. dfn: HTMLAttributes;
  1020. dialog: DialogHTMLAttributes;
  1021. div: HTMLAttributes;
  1022. dl: HTMLAttributes;
  1023. dt: HTMLAttributes;
  1024. em: HTMLAttributes;
  1025. embed: EmbedHTMLAttributes;
  1026. fieldset: FieldsetHTMLAttributes;
  1027. figcaption: HTMLAttributes;
  1028. figure: HTMLAttributes;
  1029. footer: HTMLAttributes;
  1030. form: FormHTMLAttributes;
  1031. h1: HTMLAttributes;
  1032. h2: HTMLAttributes;
  1033. h3: HTMLAttributes;
  1034. h4: HTMLAttributes;
  1035. h5: HTMLAttributes;
  1036. h6: HTMLAttributes;
  1037. head: HTMLAttributes;
  1038. header: HTMLAttributes;
  1039. hgroup: HTMLAttributes;
  1040. hr: HTMLAttributes;
  1041. html: HtmlHTMLAttributes;
  1042. i: HTMLAttributes;
  1043. iframe: IframeHTMLAttributes;
  1044. img: ImgHTMLAttributes;
  1045. input: InputHTMLAttributes;
  1046. ins: InsHTMLAttributes;
  1047. kbd: HTMLAttributes;
  1048. keygen: KeygenHTMLAttributes;
  1049. label: LabelHTMLAttributes;
  1050. legend: HTMLAttributes;
  1051. li: LiHTMLAttributes;
  1052. link: LinkHTMLAttributes;
  1053. main: HTMLAttributes;
  1054. map: MapHTMLAttributes;
  1055. mark: HTMLAttributes;
  1056. menu: MenuHTMLAttributes;
  1057. meta: MetaHTMLAttributes;
  1058. meter: MeterHTMLAttributes;
  1059. nav: HTMLAttributes;
  1060. noindex: HTMLAttributes;
  1061. noscript: HTMLAttributes;
  1062. object: ObjectHTMLAttributes;
  1063. ol: OlHTMLAttributes;
  1064. optgroup: OptgroupHTMLAttributes;
  1065. option: OptionHTMLAttributes;
  1066. output: OutputHTMLAttributes;
  1067. p: HTMLAttributes;
  1068. param: ParamHTMLAttributes;
  1069. picture: HTMLAttributes;
  1070. pre: HTMLAttributes;
  1071. progress: ProgressHTMLAttributes;
  1072. q: QuoteHTMLAttributes;
  1073. rp: HTMLAttributes;
  1074. rt: HTMLAttributes;
  1075. ruby: HTMLAttributes;
  1076. s: HTMLAttributes;
  1077. samp: HTMLAttributes;
  1078. script: ScriptHTMLAttributes;
  1079. section: HTMLAttributes;
  1080. select: SelectHTMLAttributes;
  1081. small: HTMLAttributes;
  1082. source: SourceHTMLAttributes;
  1083. span: HTMLAttributes;
  1084. strong: HTMLAttributes;
  1085. style: StyleHTMLAttributes;
  1086. sub: HTMLAttributes;
  1087. summary: HTMLAttributes;
  1088. sup: HTMLAttributes;
  1089. table: TableHTMLAttributes;
  1090. template: HTMLAttributes;
  1091. tbody: HTMLAttributes;
  1092. td: TdHTMLAttributes;
  1093. textarea: TextareaHTMLAttributes;
  1094. tfoot: HTMLAttributes;
  1095. th: ThHTMLAttributes;
  1096. thead: HTMLAttributes;
  1097. time: TimeHTMLAttributes;
  1098. title: HTMLAttributes;
  1099. tr: HTMLAttributes;
  1100. track: TrackHTMLAttributes;
  1101. u: HTMLAttributes;
  1102. ul: HTMLAttributes;
  1103. var: HTMLAttributes;
  1104. video: VideoHTMLAttributes;
  1105. wbr: HTMLAttributes;
  1106. webview: WebViewHTMLAttributes;
  1107. svg: SVGAttributes;
  1108. animate: SVGAttributes;
  1109. animateMotion: SVGAttributes;
  1110. animateTransform: SVGAttributes;
  1111. circle: SVGAttributes;
  1112. clipPath: SVGAttributes;
  1113. defs: SVGAttributes;
  1114. desc: SVGAttributes;
  1115. ellipse: SVGAttributes;
  1116. feBlend: SVGAttributes;
  1117. feColorMatrix: SVGAttributes;
  1118. feComponentTransfer: SVGAttributes;
  1119. feComposite: SVGAttributes;
  1120. feConvolveMatrix: SVGAttributes;
  1121. feDiffuseLighting: SVGAttributes;
  1122. feDisplacementMap: SVGAttributes;
  1123. feDistantLight: SVGAttributes;
  1124. feDropShadow: SVGAttributes;
  1125. feFlood: SVGAttributes;
  1126. feFuncA: SVGAttributes;
  1127. feFuncB: SVGAttributes;
  1128. feFuncG: SVGAttributes;
  1129. feFuncR: SVGAttributes;
  1130. feGaussianBlur: SVGAttributes;
  1131. feImage: SVGAttributes;
  1132. feMerge: SVGAttributes;
  1133. feMergeNode: SVGAttributes;
  1134. feMorphology: SVGAttributes;
  1135. feOffset: SVGAttributes;
  1136. fePointLight: SVGAttributes;
  1137. feSpecularLighting: SVGAttributes;
  1138. feSpotLight: SVGAttributes;
  1139. feTile: SVGAttributes;
  1140. feTurbulence: SVGAttributes;
  1141. filter: SVGAttributes;
  1142. foreignObject: SVGAttributes;
  1143. g: SVGAttributes;
  1144. image: SVGAttributes;
  1145. line: SVGAttributes;
  1146. linearGradient: SVGAttributes;
  1147. marker: SVGAttributes;
  1148. mask: SVGAttributes;
  1149. metadata: SVGAttributes;
  1150. mpath: SVGAttributes;
  1151. path: SVGAttributes;
  1152. pattern: SVGAttributes;
  1153. polygon: SVGAttributes;
  1154. polyline: SVGAttributes;
  1155. radialGradient: SVGAttributes;
  1156. rect: SVGAttributes;
  1157. stop: SVGAttributes;
  1158. switch: SVGAttributes;
  1159. symbol: SVGAttributes;
  1160. text: SVGAttributes;
  1161. textPath: SVGAttributes;
  1162. tspan: SVGAttributes;
  1163. use: SVGAttributes;
  1164. view: SVGAttributes;
  1165. }
  1166. export interface Events {
  1167. onCopy: ClipboardEvent;
  1168. onCut: ClipboardEvent;
  1169. onPaste: ClipboardEvent;
  1170. onCompositionend: CompositionEvent;
  1171. onCompositionstart: CompositionEvent;
  1172. onCompositionupdate: CompositionEvent;
  1173. onDrag: DragEvent;
  1174. onDragend: DragEvent;
  1175. onDragenter: DragEvent;
  1176. onDragexit: DragEvent;
  1177. onDragleave: DragEvent;
  1178. onDragover: DragEvent;
  1179. onDragstart: DragEvent;
  1180. onDrop: DragEvent;
  1181. onFocus: FocusEvent;
  1182. onFocusin: FocusEvent;
  1183. onFocusout: FocusEvent;
  1184. onBlur: FocusEvent;
  1185. onChange: Event;
  1186. onBeforeinput: Event;
  1187. onInput: Event;
  1188. onReset: Event;
  1189. onSubmit: Event;
  1190. onInvalid: Event;
  1191. onLoad: Event;
  1192. onError: Event;
  1193. onKeydown: KeyboardEvent;
  1194. onKeypress: KeyboardEvent;
  1195. onKeyup: KeyboardEvent;
  1196. onAuxclick: MouseEvent;
  1197. onClick: MouseEvent;
  1198. onContextmenu: MouseEvent;
  1199. onDblclick: MouseEvent;
  1200. onMousedown: MouseEvent;
  1201. onMouseenter: MouseEvent;
  1202. onMouseleave: MouseEvent;
  1203. onMousemove: MouseEvent;
  1204. onMouseout: MouseEvent;
  1205. onMouseover: MouseEvent;
  1206. onMouseup: MouseEvent;
  1207. onAbort: Event;
  1208. onCanplay: Event;
  1209. onCanplaythrough: Event;
  1210. onDurationchange: Event;
  1211. onEmptied: Event;
  1212. onEncrypted: Event;
  1213. onEnded: Event;
  1214. onLoadeddata: Event;
  1215. onLoadedmetadata: Event;
  1216. onLoadstart: Event;
  1217. onPause: Event;
  1218. onPlay: Event;
  1219. onPlaying: Event;
  1220. onProgress: Event;
  1221. onRatechange: Event;
  1222. onSeeked: Event;
  1223. onSeeking: Event;
  1224. onStalled: Event;
  1225. onSuspend: Event;
  1226. onTimeupdate: Event;
  1227. onVolumechange: Event;
  1228. onWaiting: Event;
  1229. onSelect: Event;
  1230. onScroll: UIEvent;
  1231. onTouchcancel: TouchEvent;
  1232. onTouchend: TouchEvent;
  1233. onTouchmove: TouchEvent;
  1234. onTouchstart: TouchEvent;
  1235. onPointerdown: PointerEvent;
  1236. onPointermove: PointerEvent;
  1237. onPointerup: PointerEvent;
  1238. onPointercancel: PointerEvent;
  1239. onPointerenter: PointerEvent;
  1240. onPointerleave: PointerEvent;
  1241. onPointerover: PointerEvent;
  1242. onPointerout: PointerEvent;
  1243. onWheel: WheelEvent;
  1244. onAnimationstart: AnimationEvent;
  1245. onAnimationend: AnimationEvent;
  1246. onAnimationiteration: AnimationEvent;
  1247. onTransitionend: TransitionEvent;
  1248. onTransitionstart: TransitionEvent;
  1249. }
  1250. type EventHandlers<E> = {
  1251. [K in keyof E]?: E[K] extends (...args: any) => any ? E[K] : (payload: E[K]) => void;
  1252. };
  1253. export type ReservedProps = {
  1254. key?: string | number | symbol;
  1255. ref?: VNodeRef;
  1256. ref_for?: boolean;
  1257. ref_key?: string;
  1258. };
  1259. export type NativeElements = {
  1260. [K in keyof IntrinsicElementAttributes]: IntrinsicElementAttributes[K] & ReservedProps;
  1261. };
  1262. declare module '@vue/reactivity' {
  1263. interface RefUnwrapBailTypes {
  1264. runtimeDOMBailTypes: Node | Window;
  1265. }
  1266. }
  1267. export declare const render: RootRenderFunction<Element | ShadowRoot>;
  1268. export declare const hydrate: RootHydrateFunction;
  1269. export declare const createApp: CreateAppFunction<Element>;
  1270. export declare const createSSRApp: CreateAppFunction<Element>;