/// // @ts-nocheck // nocheck because we don't want to adjust this anymore (only used for Svelte 3) declare namespace svelteHTML { // Every namespace eligible for use needs to implement the following two functions /** * @internal do not use */ function mapElementTag( tag: K ): ElementTagNameMap[K]; function mapElementTag( tag: K ): SVGElementTagNameMap[K]; function mapElementTag( tag: any ): any; // needs to be any because used in context of /** * @internal do not use */ function createElement( // "undefined | null" because of element: Key | undefined | null, attrs: string extends Key ? import('svelte/elements').HTMLAttributes : Elements[Key] ): Key extends keyof ElementTagNameMap ? ElementTagNameMap[Key] : Key extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[Key] : any; function createElement( // "undefined | null" because of element: Key | undefined | null, attrsEnhancers: T, attrs: (string extends Key ? import('svelte/elements').HTMLAttributes : Elements[Key]) & T ): Key extends keyof ElementTagNameMap ? ElementTagNameMap[Key] : Key extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[Key] : any; // For backwards-compatibility and ease-of-use, in case someone enhanced the typings from import('svelte/elements').HTMLAttributes/SVGAttributes interface HTMLAttributes {} interface SVGAttributes {} /** * @internal do not use */ type EventsWithColon = {[Property in keyof T as Property extends `on${infer Key}` ? `on:${Key}` : Property]?: T[Property] } /** * @internal do not use */ type HTMLProps = // This omit chain ensures that properties manually defined in the new transformation take precedence // over those manually defined in the old, taking precendence over the defaults, to make sth like this possible // https://github.com/sveltejs/language-tools/issues/1352#issuecomment-1248627516 // The AttributeNames Omit is necessary because the old transformation only has HTMLAttributes on which types for all // elements are defined, which would silence type errors in the new transformation. Omit< Omit>> & EventsWithColon>, keyof Override > & Override; /** * @internal do not use */ type RemoveIndex = { [ K in keyof T as string extends K ? never : K ] : T[K] }; // the following type construct makes sure that we can use the new typings while maintaining backwards-compatibility in case someone enhanced the old typings interface IntrinsicElements extends Omit, keyof RemoveIndex> { a: HTMLProps<'a', HTMLAttributes>; abbr: HTMLProps<'abbr', HTMLAttributes>; address: HTMLProps<'address', HTMLAttributes>; area: HTMLProps<'area', HTMLAttributes>; article: HTMLProps<'article', HTMLAttributes>; aside: HTMLProps<'aside', HTMLAttributes>; audio: HTMLProps<'audio', HTMLAttributes>; b: HTMLProps<'b', HTMLAttributes>; base: HTMLProps<'base', HTMLAttributes>; bdi: HTMLProps<'bdi', HTMLAttributes>; bdo: HTMLProps<'bdo', HTMLAttributes>; big: HTMLProps<'big', HTMLAttributes>; blockquote: HTMLProps<'blockquote', HTMLAttributes>; body: HTMLProps<'body', HTMLAttributes>; br: HTMLProps<'br', HTMLAttributes>; button: HTMLProps<'button', HTMLAttributes>; canvas: HTMLProps<'canvas', HTMLAttributes>; caption: HTMLProps<'caption', HTMLAttributes>; cite: HTMLProps<'cite', HTMLAttributes>; code: HTMLProps<'code', HTMLAttributes>; col: HTMLProps<'col', HTMLAttributes>; colgroup: HTMLProps<'colgroup', HTMLAttributes>; data: HTMLProps<'data', HTMLAttributes>; datalist: HTMLProps<'datalist', HTMLAttributes>; dd: HTMLProps<'dd', HTMLAttributes>; del: HTMLProps<'del', HTMLAttributes>; details: HTMLProps<'details', HTMLAttributes>; dfn: HTMLProps<'dfn', HTMLAttributes>; dialog: HTMLProps<'dialog', HTMLAttributes>; div: HTMLProps<'div', HTMLAttributes>; dl: HTMLProps<'dl', HTMLAttributes>; dt: HTMLProps<'dt', HTMLAttributes>; em: HTMLProps<'em', HTMLAttributes>; embed: HTMLProps<'embed', HTMLAttributes>; fieldset: HTMLProps<'fieldset', HTMLAttributes>; figcaption: HTMLProps<'figcaption', HTMLAttributes>; figure: HTMLProps<'figure', HTMLAttributes>; footer: HTMLProps<'footer', HTMLAttributes>; form: HTMLProps<'form', HTMLAttributes>; h1: HTMLProps<'h1', HTMLAttributes>; h2: HTMLProps<'h2', HTMLAttributes>; h3: HTMLProps<'h3', HTMLAttributes>; h4: HTMLProps<'h4', HTMLAttributes>; h5: HTMLProps<'h5', HTMLAttributes>; h6: HTMLProps<'h6', HTMLAttributes>; head: HTMLProps<'head', HTMLAttributes>; header: HTMLProps<'header', HTMLAttributes>; hgroup: HTMLProps<'hgroup', HTMLAttributes>; hr: HTMLProps<'hr', HTMLAttributes>; html: HTMLProps<'html', HTMLAttributes>; i: HTMLProps<'i', HTMLAttributes>; iframe: HTMLProps<'iframe', HTMLAttributes>; img: HTMLProps<'img', HTMLAttributes>; input: HTMLProps<'input', HTMLAttributes>; ins: HTMLProps<'ins', HTMLAttributes>; kbd: HTMLProps<'kbd', HTMLAttributes>; keygen: HTMLProps<'keygen', HTMLAttributes>; label: HTMLProps<'label', HTMLAttributes>; legend: HTMLProps<'legend', HTMLAttributes>; li: HTMLProps<'li', HTMLAttributes>; link: HTMLProps<'link', HTMLAttributes>; main: HTMLProps<'main', HTMLAttributes>; map: HTMLProps<'map', HTMLAttributes>; mark: HTMLProps<'mark', HTMLAttributes>; menu: HTMLProps<'menu', HTMLAttributes>; menuitem: HTMLProps<'menuitem', HTMLAttributes>; meta: HTMLProps<'meta', HTMLAttributes>; meter: HTMLProps<'meter', HTMLAttributes>; nav: HTMLProps<'nav', HTMLAttributes>; noscript: HTMLProps<'noscript', HTMLAttributes>; object: HTMLProps<'object', HTMLAttributes>; ol: HTMLProps<'ol', HTMLAttributes>; optgroup: HTMLProps<'optgroup', HTMLAttributes>; option: HTMLProps<'option', HTMLAttributes>; output: HTMLProps<'output', HTMLAttributes>; p: HTMLProps<'p', HTMLAttributes>; param: HTMLProps<'param', HTMLAttributes>; picture: HTMLProps<'picture', HTMLAttributes>; pre: HTMLProps<'pre', HTMLAttributes>; progress: HTMLProps<'progress', HTMLAttributes>; q: HTMLProps<'q', HTMLAttributes>; rp: HTMLProps<'rp', HTMLAttributes>; rt: HTMLProps<'rt', HTMLAttributes>; ruby: HTMLProps<'ruby', HTMLAttributes>; s: HTMLProps<'s', HTMLAttributes>; samp: HTMLProps<'samp', HTMLAttributes>; slot: HTMLProps<'slot', HTMLAttributes>; script: HTMLProps<'script', HTMLAttributes>; section: HTMLProps<'section', HTMLAttributes>; select: HTMLProps<'select', HTMLAttributes>; small: HTMLProps<'small', HTMLAttributes>; source: HTMLProps<'source', HTMLAttributes>; span: HTMLProps<'span', HTMLAttributes>; strong: HTMLProps<'strong', HTMLAttributes>; style: HTMLProps<'style', HTMLAttributes>; sub: HTMLProps<'sub', HTMLAttributes>; summary: HTMLProps<'summary', HTMLAttributes>; sup: HTMLProps<'sup', HTMLAttributes>; table: HTMLProps<'table', HTMLAttributes>; template: HTMLProps<'template', HTMLAttributes>; tbody: HTMLProps<'tbody', HTMLAttributes>; td: HTMLProps<'td', HTMLAttributes>; textarea: HTMLProps<'textarea', HTMLAttributes>; tfoot: HTMLProps<'tfoot', HTMLAttributes>; th: HTMLProps<'th', HTMLAttributes>; thead: HTMLProps<'thead', HTMLAttributes>; time: HTMLProps<'time', HTMLAttributes>; title: HTMLProps<'title', HTMLAttributes>; tr: HTMLProps<'tr', HTMLAttributes>; track: HTMLProps<'track', HTMLAttributes>; u: HTMLProps<'u', HTMLAttributes>; ul: HTMLProps<'ul', HTMLAttributes>; var: HTMLProps<'var', HTMLAttributes>; video: HTMLProps<'video', HTMLAttributes>; wbr: HTMLProps<'wbr', HTMLAttributes>; webview: HTMLProps<'webview', HTMLAttributes>; // SVG svg: HTMLProps<'svg', SVGAttributes>; animate: HTMLProps<'animate', SVGAttributes>; animateMotion: HTMLProps<'animateMotion', SVGAttributes>; animateTransform: HTMLProps<'animateTransform', SVGAttributes>; circle: HTMLProps<'circle', SVGAttributes>; clipPath: HTMLProps<'clipPath', SVGAttributes>; defs: HTMLProps<'defs', SVGAttributes>; desc: HTMLProps<'desc', SVGAttributes>; ellipse: HTMLProps<'ellipse', SVGAttributes>; feBlend: HTMLProps<'feBlend', SVGAttributes>; feColorMatrix: HTMLProps<'feColorMatrix', SVGAttributes>; feComponentTransfer: HTMLProps<'feComponentTransfer', SVGAttributes>; feComposite: HTMLProps<'feComposite', SVGAttributes>; feConvolveMatrix: HTMLProps<'feConvolveMatrix', SVGAttributes>; feDiffuseLighting: HTMLProps<'feDiffuseLighting', SVGAttributes>; feDisplacementMap: HTMLProps<'feDisplacementMap', SVGAttributes>; feDistantLight: HTMLProps<'feDistantLight', SVGAttributes>; feDropShadow: HTMLProps<'feDropShadow', SVGAttributes>; feFlood: HTMLProps<'feFlood', SVGAttributes>; feFuncA: HTMLProps<'feFuncA', SVGAttributes>; feFuncB: HTMLProps<'feFuncB', SVGAttributes>; feFuncG: HTMLProps<'feFuncG', SVGAttributes>; feFuncR: HTMLProps<'feFuncR', SVGAttributes>; feGaussianBlur: HTMLProps<'feGaussianBlur', SVGAttributes>; feImage: HTMLProps<'feImage', SVGAttributes>; feMerge: HTMLProps<'feMerge', SVGAttributes>; feMergeNode: HTMLProps<'feMergeNode', SVGAttributes>; feMorphology: HTMLProps<'feMorphology', SVGAttributes>; feOffset: HTMLProps<'feOffset', SVGAttributes>; fePointLight: HTMLProps<'fePointLight', SVGAttributes>; feSpecularLighting: HTMLProps<'feSpecularLighting', SVGAttributes>; feSpotLight: HTMLProps<'feSpotLight', SVGAttributes>; feTile: HTMLProps<'feTile', SVGAttributes>; feTurbulence: HTMLProps<'feTurbulence', SVGAttributes>; filter: HTMLProps<'filter', SVGAttributes>; foreignObject: HTMLProps<'foreignObject', SVGAttributes>; g: HTMLProps<'g', SVGAttributes>; image: HTMLProps<'image', SVGAttributes>; line: HTMLProps<'line', SVGAttributes>; linearGradient: HTMLProps<'linearGradient', SVGAttributes>; marker: HTMLProps<'marker', SVGAttributes>; mask: HTMLProps<'mask', SVGAttributes>; metadata: HTMLProps<'metadata', SVGAttributes>; mpath: HTMLProps<'mpath', SVGAttributes>; path: HTMLProps<'path', SVGAttributes>; pattern: HTMLProps<'pattern', SVGAttributes>; polygon: HTMLProps<'polygon', SVGAttributes>; polyline: HTMLProps<'polyline', SVGAttributes>; radialGradient: HTMLProps<'radialGradient', SVGAttributes>; rect: HTMLProps<'rect', SVGAttributes>; stop: HTMLProps<'stop', SVGAttributes>; switch: HTMLProps<'switch', SVGAttributes>; symbol: HTMLProps<'symbol', SVGAttributes>; text: HTMLProps<'text', SVGAttributes>; textPath: HTMLProps<'textPath', SVGAttributes>; tspan: HTMLProps<'tspan', SVGAttributes>; use: HTMLProps<'use', SVGAttributes>; view: HTMLProps<'view', SVGAttributes>; // Svelte specific 'svelte:window': HTMLProps<'svelte:window', HTMLAttributes>; 'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>; 'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>; 'svelte:fragment': { slot?: string }; 'svelte:options': { [name: string]: any }; 'svelte:head': { [name: string]: any }; [name: string]: { [name: string]: any }; } } // Keep svelte.JSX for backwards compatibility, in case someone enhanced it with their own typings, // which we can transform to the new svelteHTML namespace. /** * @deprecated use the types from `svelte/elements` instead, or the `svelteHTML` namespace. * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ declare namespace svelte.JSX { /* svelte specific */ interface ElementClass { $$prop_def: any; } interface ElementAttributesProperty { $$prop_def: any; // specify the property name to use } /* html jsx */ interface IntrinsicAttributes { slot?: string; } // // Event Handler Types // ---------------------------------------------------------------------- type EventHandler = (event: E & { currentTarget: EventTarget & T}) => any; type ClipboardEventHandler = EventHandler; type CompositionEventHandler = EventHandler; type DragEventHandler = EventHandler; type FocusEventHandler = EventHandler; type FormEventHandler = EventHandler; type ChangeEventHandler = EventHandler; type KeyboardEventHandler = EventHandler; type MouseEventHandler = EventHandler; type TouchEventHandler = EventHandler; type PointerEventHandler = EventHandler; type UIEventHandler = EventHandler; type WheelEventHandler = EventHandler; type AnimationEventHandler = EventHandler; type TransitionEventHandler = EventHandler; type MessageEventHandler = EventHandler; /** @deprecated DO NOT USE, WILL BE REMOVED SOON */ type AttributeNames = |'oncopy' |'oncut' |'onpaste' |'oncompositionend' |'oncompositionstart' |'oncompositionupdate' |'onfocus' |'onfocusin' |'onfocusout' |'onblur' |'onchange' |'oninput' |'onreset' |'onsubmit' |'oninvalid' |'onbeforeinput' |'onload' |'onerror' |'ontoggle' |'onkeydown' |'onkeypress' |'onkeyup' |'onabort' |'oncanplay' |'oncanplaythrough' |'oncuechange' |'ondurationchange' |'onemptied' |'onencrypted' |'onended' |'onloadeddata' |'onloadedmetadata' |'onloadstart' |'onpause' |'onplay' |'onplaying' |'onprogress' |'onratechange' |'onseeked' |'onseeking' |'onstalled' |'onsuspend' |'ontimeupdate' |'onvolumechange' |'onwaiting' |'onauxclick' |'onclick' |'oncontextmenu' |'ondblclick' |'ondrag' |'ondragend' |'ondragenter' |'ondragexit' |'ondragleave' |'ondragover' |'ondragstart' |'ondrop' |'onmousedown' |'onmouseenter' |'onmouseleave' |'onmousemove' |'onmouseout' |'onmouseover' |'onmouseup' |'onselect' |'onselectionchange' |'onselectstart' |'ontouchcancel' |'ontouchend' |'ontouchmove' |'ontouchstart' |'ongotpointercapture' |'onpointercancel' |'onpointerdown' |'onpointerenter' |'onpointerleave' |'onpointermove' |'onpointerout' |'onpointerover' |'onpointerup' |'onlostpointercapture' |'onscroll' |'onresize' |'onwheel' |'onanimationstart' |'onanimationend' |'onanimationiteration' |'ontransitionstart' |'ontransitionrun' |'ontransitionend' |'ontransitioncancel' |'onoutrostart' |'onoutroend' |'onintrostart' |'onintroend' |'onmessage' |'onmessageerror' |'oncancel' |'onclose' |'onfullscreenchange' |'onfullscreenerror' |'class' |'dataset' |'accept' |'acceptcharset' |'accesskey' |'action' |'allow' |'allowfullscreen' |'allowtransparency' |'allowpaymentrequest' |'alt' |'as' |'async' |'autocomplete' |'autofocus' |'autoplay' |'capture' |'cellpadding' |'cellspacing' |'charset' |'challenge' |'checked' |'cite' |'classid' |'cols' |'colspan' |'content' |'contenteditable' |'innerHTML' |'textContent' |'contextmenu' |'controls' |'coords' |'crossorigin' |'currenttime' |'decoding' |'data' |'datetime' |'default' |'defaultmuted' |'defaultplaybackrate' |'defer' |'dir' |'dirname' |'disabled' |'download' |'draggable' |'enctype' |'enterkeyhint' |'for' |'form' |'formaction' |'formenctype' |'formmethod' |'formnovalidate' |'formtarget' |'frameborder' |'headers' |'height' |'hidden' |'high' |'href' |'hreflang' |'htmlfor' |'httpequiv' |'id' |'inputmode' |'integrity' |'is' |'ismap' |'keyparams' |'keytype' |'kind' |'label' |'lang' |'list' |'loading' |'loop' |'low' |'manifest' |'marginheight' |'marginwidth' |'max' |'maxlength' |'media' |'mediagroup' |'method' |'min' |'minlength' |'multiple' |'muted' |'name' |'nonce' |'novalidate' |'open' |'optimum' |'part' |'pattern' |'placeholder' |'playsinline' |'ping' |'poster' |'preload' |'radiogroup' |'readonly' |'referrerpolicy' |'rel' |'required' |'reversed' |'role' |'rows' |'rowspan' |'sandbox' |'scope' |'scoped' |'scrolling' |'seamless' |'selected' |'shape' |'size' |'sizes' |'slot' |'span' |'spellcheck' |'src' |'srcdoc' |'srclang' |'srcset' |'start' |'step' |'style' |'summary' |'tabindex' |'target' |'title' |'translate' |'type' |'usemap' |'value' |'volume' |'width' |'wmode' |'wrap' |'about' |'datatype' |'inlist' |'prefix' |'property' |'resource' |'typeof' |'vocab' |'autocapitalize' |'autocorrect' |'autosave' |'color' |'controlslist' |'inert' |'itemprop' |'itemscope' |'itemtype' |'itemid' |'itemref' |'results' |'security' |'unselectable'; /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface DOMAttributes { oncopy?: ClipboardEventHandler | undefined | null; oncut?: ClipboardEventHandler | undefined | null; onpaste?: ClipboardEventHandler | undefined | null; oncompositionend?: CompositionEventHandler | undefined | null; oncompositionstart?: CompositionEventHandler | undefined | null; oncompositionupdate?: CompositionEventHandler | undefined | null; onfocus?: FocusEventHandler | undefined | null; onfocusin?: FocusEventHandler | undefined | null; onfocusout?: FocusEventHandler | undefined | null; onblur?: FocusEventHandler | undefined | null; onchange?: FormEventHandler | undefined | null; oninput?: FormEventHandler | undefined | null; onreset?: FormEventHandler | undefined | null; onsubmit?: EventHandler | undefined | null; oninvalid?: EventHandler | undefined | null; onbeforeinput?: EventHandler | undefined | null; onload?: EventHandler | undefined | null; onerror?: EventHandler | undefined | null; // also a Media Event ontoggle?: EventHandler | undefined | null; onkeydown?: KeyboardEventHandler | undefined | null; onkeypress?: KeyboardEventHandler | undefined | null; onkeyup?: KeyboardEventHandler | undefined | null; onabort?: EventHandler | undefined | null; oncanplay?: EventHandler | undefined | null; oncanplaythrough?: EventHandler | undefined | null; oncuechange?: EventHandler | undefined | null; ondurationchange?: EventHandler | undefined | null; onemptied?: EventHandler | undefined | null; onencrypted?: EventHandler | undefined | null; onended?: EventHandler | undefined | null; onloadeddata?: EventHandler | undefined | null; onloadedmetadata?: EventHandler | undefined | null; onloadstart?: EventHandler | undefined | null; onpause?: EventHandler | undefined | null; onplay?: EventHandler | undefined | null; onplaying?: EventHandler | undefined | null; onprogress?: EventHandler | undefined | null; onratechange?: EventHandler | undefined | null; onseeked?: EventHandler | undefined | null; onseeking?: EventHandler | undefined | null; onstalled?: EventHandler | undefined | null; onsuspend?: EventHandler | undefined | null; ontimeupdate?: EventHandler | undefined | null; onvolumechange?: EventHandler | undefined | null; onwaiting?: EventHandler | undefined | null; onauxclick?: MouseEventHandler | undefined | null; onclick?: MouseEventHandler | undefined | null; oncontextmenu?: MouseEventHandler | undefined | null; ondblclick?: MouseEventHandler | undefined | null; ondrag?: DragEventHandler | undefined | null; ondragend?: DragEventHandler | undefined | null; ondragenter?: DragEventHandler | undefined | null; ondragexit?: DragEventHandler | undefined | null; ondragleave?: DragEventHandler | undefined | null; ondragover?: DragEventHandler | undefined | null; ondragstart?: DragEventHandler | undefined | null; ondrop?: DragEventHandler | undefined | null; onmousedown?: MouseEventHandler | undefined | null; onmouseenter?: MouseEventHandler | undefined | null; onmouseleave?: MouseEventHandler | undefined | null; onmousemove?: MouseEventHandler | undefined | null; onmouseout?: MouseEventHandler | undefined | null; onmouseover?: MouseEventHandler | undefined | null; onmouseup?: MouseEventHandler | undefined | null; onselect?: EventHandler | undefined | null; onselectionchange?: EventHandler | undefined | null; onselectstart?: EventHandler | undefined | null; ontouchcancel?: TouchEventHandler | undefined | null; ontouchend?: TouchEventHandler | undefined | null; ontouchmove?: TouchEventHandler | undefined | null; ontouchstart?: TouchEventHandler | undefined | null; ongotpointercapture?: PointerEventHandler | undefined | null; onpointercancel?: PointerEventHandler | undefined | null; onpointerdown?: PointerEventHandler | undefined | null; onpointerenter?: PointerEventHandler | undefined | null; onpointerleave?: PointerEventHandler | undefined | null; onpointermove?: PointerEventHandler | undefined | null; onpointerout?: PointerEventHandler | undefined | null; onpointerover?: PointerEventHandler | undefined | null; onpointerup?: PointerEventHandler | undefined | null; onlostpointercapture?: PointerEventHandler | undefined | null; onscroll?: UIEventHandler | undefined | null; onresize?: UIEventHandler | undefined | null; onwheel?: WheelEventHandler | undefined | null; onanimationstart?: AnimationEventHandler | undefined | null; onanimationend?: AnimationEventHandler | undefined | null; onanimationiteration?: AnimationEventHandler | undefined | null; ontransitionstart?: TransitionEventHandler | undefined | null; ontransitionrun?: TransitionEventHandler | undefined | null; ontransitionend?: TransitionEventHandler | undefined | null; ontransitioncancel?: TransitionEventHandler | undefined | null; onoutrostart?: EventHandler, T> | undefined | null; onoutroend?: EventHandler, T> | undefined | null; onintrostart?: EventHandler, T> | undefined | null; onintroend?: EventHandler, T> | undefined | null; onmessage?: MessageEventHandler | undefined | null; onmessageerror?: MessageEventHandler | undefined | null; oncancel?: EventHandler | undefined | null; onclose?: EventHandler | undefined | null; onfullscreenchange?: EventHandler | undefined | null; onfullscreenerror?: EventHandler | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface AriaAttributes { 'aria-activedescendant'?: string | undefined | null; 'aria-atomic'?: boolean | 'false' | 'true' | undefined | null; 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined | null; 'aria-busy'?: boolean | 'false' | 'true' | undefined | null; 'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined | null; 'aria-colcount'?: number | undefined | null; 'aria-colindex'?: number | undefined | null; 'aria-colspan'?: number | undefined | null; 'aria-controls'?: string | undefined | null; 'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined | null; 'aria-describedby'?: string | undefined | null; 'aria-details'?: string | undefined | null; 'aria-disabled'?: boolean | 'false' | 'true' | undefined | null; 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined | null; 'aria-errormessage'?: string | undefined | null; 'aria-expanded'?: boolean | 'false' | 'true' | undefined | null; 'aria-flowto'?: string | undefined | null; 'aria-grabbed'?: boolean | 'false' | 'true' | undefined | null; 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined | null; 'aria-hidden'?: boolean | 'false' | 'true' | undefined | null; 'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined | null; 'aria-keyshortcuts'?: string | undefined | null; 'aria-label'?: string | undefined | null; 'aria-labelledby'?: string | undefined | null; 'aria-level'?: number | undefined | null; 'aria-live'?: 'off' | 'assertive' | 'polite' | undefined | null; 'aria-modal'?: boolean | 'false' | 'true' | undefined | null; 'aria-multiline'?: boolean | 'false' | 'true' | undefined | null; 'aria-multiselectable'?: boolean | 'false' | 'true' | undefined | null; 'aria-orientation'?: 'horizontal' | 'vertical' | undefined | null; 'aria-owns'?: string | undefined | null; 'aria-placeholder'?: string | undefined | null; 'aria-posinset'?: number | undefined | null; 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined | null; 'aria-readonly'?: boolean | 'false' | 'true' | undefined | null; 'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined | null; 'aria-required'?: boolean | 'false' | 'true' | undefined | null; 'aria-roledescription'?: string | undefined | null; 'aria-rowcount'?: number | undefined | null; 'aria-rowindex'?: number | undefined | null; 'aria-rowspan'?: number | undefined | null; 'aria-selected'?: boolean | 'false' | 'true' | undefined | null; 'aria-setsize'?: number | undefined | null; 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined | null; 'aria-valuemax'?: number | undefined | null; 'aria-valuemin'?: number | undefined | null; 'aria-valuenow'?: number | undefined | null; 'aria-valuetext'?: string | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface HTMLAttributes extends AriaAttributes, DOMAttributes { class?: string | undefined | null; dataset?: object | undefined | null; accept?: string | undefined | null; acceptcharset?: string | undefined | null; accesskey?: string | undefined | null; action?: string | undefined | null; allow?: string | undefined | null; allowfullscreen?: boolean | undefined | null; allowtransparency?: boolean | undefined | null; allowpaymentrequest?: boolean | undefined | null; alt?: string | undefined | null; as?: string | undefined | null; async?: boolean | undefined | null; autocomplete?: string | undefined | null; autofocus?: boolean | undefined | null; autoplay?: boolean | undefined | null; capture?: 'environment' | 'user' | boolean | undefined | null; cellpadding?: number | string | undefined | null; cellspacing?: number | string | undefined | null; charset?: string | undefined | null; challenge?: string | undefined | null; checked?: boolean | undefined | null; cite?: string | undefined | null; classid?: string | undefined | null; cols?: number | undefined | null; colspan?: number | undefined | null; content?: string | undefined | null; contenteditable?: 'true' | 'false' | boolean | undefined | null; innerHTML?: string | undefined | null; textContent?: string | undefined | null; contextmenu?: string | undefined | null; controls?: boolean | undefined | null; coords?: string | undefined | null; crossorigin?: string | undefined | null; currenttime?: number | undefined | null; decoding?: 'async' | 'sync' | 'auto' | undefined | null; data?: string | undefined | null; datetime?: string | undefined | null; default?: boolean | undefined | null; defaultmuted?: boolean | undefined | null; defaultplaybackrate?: number | undefined | null; defer?: boolean | undefined | null; dir?: string | undefined | null; dirname?: string | undefined | null; disabled?: boolean | undefined | null; download?: any | undefined | null; draggable?: boolean | 'true' | 'false' | undefined | null; enctype?: string | undefined | null; enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined | null; for?: string | undefined | null; form?: string | undefined | null; formaction?: string | undefined | null; formenctype?: string | undefined | null; formmethod?: string | undefined | null; formnovalidate?: boolean | undefined | null; formtarget?: string | undefined | null; frameborder?: number | string | undefined | null; headers?: string | undefined | null; height?: number | string | undefined | null; hidden?: boolean | undefined | null; high?: number | undefined | null; href?: string | undefined | null; hreflang?: string | undefined | null; htmlfor?: string | undefined | null; httpequiv?: string | undefined | null; id?: string | undefined | null; inputmode?: string | undefined | null; integrity?: string | undefined | null; is?: string | undefined | null; ismap?: boolean | undefined | null; keyparams?: string | undefined | null; keytype?: string | undefined | null; kind?: string | undefined | null; label?: string | undefined | null; lang?: string | undefined | null; list?: string | undefined | null; loading?: string | undefined | null; loop?: boolean | undefined | null; low?: number | undefined | null; manifest?: string | undefined | null; marginheight?: number | undefined | null; marginwidth?: number | undefined | null; max?: number | string | undefined | null; maxlength?: number | undefined | null; media?: string | undefined | null; mediagroup?: string | undefined | null; method?: string | undefined | null; min?: number | string | undefined | null; minlength?: number | undefined | null; multiple?: boolean | undefined | null; muted?: boolean | undefined | null; name?: string | undefined | null; nonce?: string | undefined | null; novalidate?: boolean | undefined | null; open?: boolean | undefined | null; optimum?: number | undefined | null; part?: string | undefined | null; pattern?: string | undefined | null; placeholder?: string | undefined | null; playsinline?: boolean | undefined | null; ping?: string | undefined | null; poster?: string | undefined | null; preload?: string | undefined | null; radiogroup?: string | undefined | null; readonly?: boolean | undefined | null; referrerpolicy?: string | undefined | null; rel?: string | undefined | null; required?: boolean | undefined | null; reversed?: boolean | undefined | null; role?: string | undefined | null; rows?: number | undefined | null; rowspan?: number | undefined | null; sandbox?: string | undefined | null; scope?: string | undefined | null; scoped?: boolean | undefined | null; scrolling?: string | undefined | null; seamless?: boolean | undefined | null; selected?: boolean | undefined | null; shape?: string | undefined | null; size?: number | undefined | null; sizes?: string | undefined | null; slot?: string | undefined | null; span?: number | undefined | null; spellcheck?: boolean | 'true' | 'false' | undefined | null; src?: string | undefined | null; srcdoc?: string | undefined | null; srclang?: string | undefined | null; srcset?: string | undefined | null; start?: number | undefined | null; step?: number | string | undefined | null; style?: string | undefined | null; summary?: string | undefined | null; tabindex?: number | undefined | null; target?: string | undefined | null; title?: string | undefined | null; translate?: "yes" | "no" | "" | undefined | null; type?: string | undefined | null; usemap?: string | undefined | null; value?: any | undefined | null; volume?: number | undefined | null; width?: number | string | undefined | null; wmode?: string | undefined | null; wrap?: string | undefined | null; about?: string | undefined | null; datatype?: string | undefined | null; inlist?: any | undefined | null; prefix?: string | undefined | null; property?: string | undefined | null; resource?: string | undefined | null; typeof?: string | undefined | null; vocab?: string | undefined | null; autocapitalize?: string | undefined | null; autocorrect?: string | undefined | null; autosave?: string | undefined | null; color?: string | undefined | null; controlslist?: 'nodownload' | 'nofullscreen' | 'noplaybackrate' | 'noremoteplayback'; inert?: boolean | undefined | null; itemprop?: string | undefined | null; itemscope?: boolean | undefined | null; itemtype?: string | undefined | null; itemid?: string | undefined | null; itemref?: string | undefined | null; results?: number | undefined | null; security?: string | undefined | null; unselectable?: boolean | undefined | null; 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null; 'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null; 'data-sveltekit-preload-code'?: true | '' | 'eager' | 'viewport' | 'hover' | 'tap' | 'off' | undefined | null; 'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null; 'data-sveltekit-reload'?: true | '' | 'off' | undefined | null; 'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SVGAttributes extends AriaAttributes, DOMAttributes { className?: string | undefined | null; class?: string | undefined | null; color?: string | undefined | null; height?: number | string | undefined | null; id?: string | undefined | null; lang?: string | undefined | null; max?: number | string | undefined | null; media?: string | undefined | null; method?: string | undefined | null; min?: number | string | undefined | null; name?: string | undefined | null; style?: string | undefined | null; target?: string | undefined | null; type?: string | undefined | null; width?: number | string | undefined | null; role?: string | undefined | null; tabindex?: number | undefined | null; crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null; 'accent-height'?: number | string | undefined | null; accumulate?: 'none' | 'sum' | undefined | null; additive?: 'replace' | 'sum' | undefined | null; 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit' | undefined | null; allowReorder?: 'no' | 'yes' | undefined | null; alphabetic?: number | string | undefined | null; amplitude?: number | string | undefined | null; 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined | null; ascent?: number | string | undefined | null; attributeName?: string | undefined | null; attributeType?: string | undefined | null; autoReverse?: number | string | undefined | null; azimuth?: number | string | undefined | null; baseFrequency?: number | string | undefined | null; 'baseline-shift'?: number | string | undefined | null; baseProfile?: number | string | undefined | null; bbox?: number | string | undefined | null; begin?: number | string | undefined | null; bias?: number | string | undefined | null; by?: number | string | undefined | null; calcMode?: number | string | undefined | null; 'cap-height'?: number | string | undefined | null; clip?: number | string | undefined | null; 'clip-path'?: string | undefined | null; clipPathUnits?: number | string | undefined | null; 'clip-rule'?: number | string | undefined | null; 'color-interpolation'?: number | string | undefined | null; 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined | null; 'color-profile'?: number | string | undefined | null; 'color-rendering'?: number | string | undefined | null; contentScriptType?: number | string | undefined | null; contentStyleType?: number | string | undefined | null; cursor?: number | string | undefined | null; cx?: number | string | undefined | null; cy?: number | string | undefined | null; d?: string | undefined | null; decelerate?: number | string | undefined | null; descent?: number | string | undefined | null; diffuseConstant?: number | string | undefined | null; direction?: number | string | undefined | null; display?: number | string | undefined | null; divisor?: number | string | undefined | null; 'dominant-baseline'?: number | string | undefined | null; dur?: number | string | undefined | null; dx?: number | string | undefined | null; dy?: number | string | undefined | null; edgeMode?: number | string | undefined | null; elevation?: number | string | undefined | null; 'enable-background'?: number | string | undefined | null; end?: number | string | undefined | null; exponent?: number | string | undefined | null; externalResourcesRequired?: number | string | undefined | null; fill?: string | undefined | null; 'fill-opacity'?: number | string | undefined | null; 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit' | undefined | null; filter?: string | undefined | null; filterRes?: number | string | undefined | null; filterUnits?: number | string | undefined | null; 'flood-color'?: number | string | undefined | null; 'flood-opacity'?: number | string | undefined | null; focusable?: number | string | undefined | null; 'font-family'?: string | undefined | null; 'font-size'?: number | string | undefined | null; 'font-size-adjust'?: number | string | undefined | null; 'font-stretch'?: number | string | undefined | null; 'font-style'?: number | string | undefined | null; 'font-variant'?: number | string | undefined | null; 'font-weight'?: number | string | undefined | null; format?: number | string | undefined | null; from?: number | string | undefined | null; fx?: number | string | undefined | null; fy?: number | string | undefined | null; g1?: number | string | undefined | null; g2?: number | string | undefined | null; 'glyph-name'?: number | string | undefined | null; 'glyph-orientation-horizontal'?: number | string | undefined | null; 'glyph-orientation-vertical'?: number | string | undefined | null; glyphRef?: number | string | undefined | null; gradientTransform?: string | undefined | null; gradientUnits?: string | undefined | null; hanging?: number | string | undefined | null; href?: string | undefined | null; 'horiz-adv-x'?: number | string | undefined | null; 'horiz-origin-x'?: number | string | undefined | null; ideographic?: number | string | undefined | null; 'image-rendering'?: number | string | undefined | null; in2?: number | string | undefined | null; in?: string | undefined | null; intercept?: number | string | undefined | null; k1?: number | string | undefined | null; k2?: number | string | undefined | null; k3?: number | string | undefined | null; k4?: number | string | undefined | null; k?: number | string | undefined | null; kernelMatrix?: number | string | undefined | null; kernelUnitLength?: number | string | undefined | null; kerning?: number | string | undefined | null; keyPoints?: number | string | undefined | null; keySplines?: number | string | undefined | null; keyTimes?: number | string | undefined | null; lengthAdjust?: number | string | undefined | null; 'letter-spacing'?: number | string | undefined | null; 'lighting-color'?: number | string | undefined | null; limitingConeAngle?: number | string | undefined | null; local?: number | string | undefined | null; 'marker-end'?: string | undefined | null; markerHeight?: number | string | undefined | null; 'marker-mid'?: string | undefined | null; 'marker-start'?: string | undefined | null; markerUnits?: number | string | undefined | null; markerWidth?: number | string | undefined | null; mask?: string | undefined | null; maskContentUnits?: number | string | undefined | null; maskUnits?: number | string | undefined | null; mathematical?: number | string | undefined | null; mode?: number | string | undefined | null; numOctaves?: number | string | undefined | null; offset?: number | string | undefined | null; opacity?: number | string | undefined | null; operator?: number | string | undefined | null; order?: number | string | undefined | null; orient?: number | string | undefined | null; orientation?: number | string | undefined | null; origin?: number | string | undefined | null; overflow?: number | string | undefined | null; 'overline-position'?: number | string | undefined | null; 'overline-thickness'?: number | string | undefined | null; 'paint-order'?: number | string | undefined | null; 'panose-1'?: number | string | undefined | null; path?: string | undefined | null; pathLength?: number | string | undefined | null; patternContentUnits?: string | undefined | null; patternTransform?: number | string | undefined | null; patternUnits?: string | undefined | null; 'pointer-events'?: number | string | undefined | null; points?: string | undefined | null; pointsAtX?: number | string | undefined | null; pointsAtY?: number | string | undefined | null; pointsAtZ?: number | string | undefined | null; preserveAlpha?: number | string | undefined | null; preserveAspectRatio?: string | undefined | null; primitiveUnits?: number | string | undefined | null; r?: number | string | undefined | null; radius?: number | string | undefined | null; refX?: number | string | undefined | null; refY?: number | string | undefined | null; 'rendering-intent'?: number | string | undefined | null; repeatCount?: number | string | undefined | null; repeatDur?: number | string | undefined | null; requiredExtensions?: number | string | undefined | null; requiredFeatures?: number | string | undefined | null; restart?: number | string | undefined | null; result?: string | undefined | null; rotate?: number | string | undefined | null; rx?: number | string | undefined | null; ry?: number | string | undefined | null; scale?: number | string | undefined | null; seed?: number | string | undefined | null; 'shape-rendering'?: number | string | undefined | null; slope?: number | string | undefined | null; spacing?: number | string | undefined | null; specularConstant?: number | string | undefined | null; specularExponent?: number | string | undefined | null; speed?: number | string | undefined | null; spreadMethod?: string | undefined | null; startOffset?: number | string | undefined | null; stdDeviation?: number | string | undefined | null; stemh?: number | string | undefined | null; stemv?: number | string | undefined | null; stitchTiles?: number | string | undefined | null; 'stop-color'?: string | undefined | null; 'stop-opacity'?: number | string | undefined | null; 'strikethrough-position'?: number | string | undefined | null; 'strikethrough-thickness'?: number | string | undefined | null; string?: number | string | undefined | null; stroke?: string | undefined | null; 'stroke-dasharray'?: string | number | undefined | null; 'stroke-dashoffset'?: string | number | undefined | null; 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null; 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null; 'stroke-miterlimit'?: string | undefined | null; 'stroke-opacity'?: number | string | undefined | null; 'stroke-width'?: number | string | undefined | null; surfaceScale?: number | string | undefined | null; systemLanguage?: number | string | undefined | null; tableValues?: number | string | undefined | null; targetX?: number | string | undefined | null; targetY?: number | string | undefined | null; 'text-anchor'?: string | undefined | null; 'text-decoration'?: number | string | undefined | null; textLength?: number | string | undefined | null; 'text-rendering'?: number | string | undefined | null; to?: number | string | undefined | null; transform?: string | undefined | null; u1?: number | string | undefined | null; u2?: number | string | undefined | null; 'underline-position'?: number | string | undefined | null; 'underline-thickness'?: number | string | undefined | null; unicode?: number | string | undefined | null; 'unicode-bidi'?: number | string | undefined | null; 'unicode-range'?: number | string | undefined | null; 'units-per-em'?: number | string | undefined | null; 'v-alphabetic'?: number | string | undefined | null; values?: string | undefined | null; 'vector-effect'?: number | string | undefined | null; version?: string | undefined | null; 'vert-adv-y'?: number | string | undefined | null; 'vert-origin-x'?: number | string | undefined | null; 'vert-origin-y'?: number | string | undefined | null; 'v-hanging'?: number | string | undefined | null; 'v-ideographic'?: number | string | undefined | null; viewBox?: string | undefined | null; viewTarget?: number | string | undefined | null; visibility?: number | string | undefined | null; 'v-mathematical'?: number | string | undefined | null; widths?: number | string | undefined | null; 'word-spacing'?: number | string | undefined | null; 'writing-mode'?: number | string | undefined | null; x1?: number | string | undefined | null; x2?: number | string | undefined | null; x?: number | string | undefined | null; xChannelSelector?: string | undefined | null; 'x-height'?: number | string | undefined | null; xlinkActuate?: string | undefined | null; xlinkArcrole?: string | undefined | null; xlinkHref?: string | undefined | null; xlinkRole?: string | undefined | null; xlinkShow?: string | undefined | null; xlinkTitle?: string | undefined | null; xlinkType?: string | undefined | null; xmlBase?: string | undefined | null; xmlLang?: string | undefined | null; xmlns?: string | undefined | null; xmlnsXlink?: string | undefined | null; xmlSpace?: string | undefined | null; y1?: number | string | undefined | null; y2?: number | string | undefined | null; y?: number | string | undefined | null; yChannelSelector?: string | undefined | null; z?: number | string | undefined | null; zoomAndPan?: string | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface HTMLProps extends HTMLAttributes {} /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SVGProps extends SVGAttributes {} /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SvelteInputProps extends HTMLProps { group?: any | undefined | null; files?: FileList | undefined | null; indeterminate?: boolean | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SvelteWindowProps { readonly innerWidth?: Window['innerWidth'] | undefined | null; readonly innerHeight?: Window['innerHeight'] | undefined | null; readonly outerWidth?: Window['outerWidth'] | undefined | null; readonly outerHeight?: Window['outerHeight'] | undefined | null; scrollX?: Window['scrollX'] | undefined | null; scrollY?: Window['scrollY'] | undefined | null; readonly online?: Window['navigator']['onLine'] | undefined | null; // Transformed from on:sveltekit:xy 'onsveltekit:start'?: EventHandler | undefined | null; 'onsveltekit:navigation-start'?: EventHandler | undefined | null; 'onsveltekit:navigation-end'?: EventHandler | undefined | null; ondevicelight?: EventHandler | undefined | null; onbeforeinstallprompt?: EventHandler | undefined | null; ondeviceproximity?: EventHandler | undefined | null; onpaint?: EventHandler | undefined | null; onuserproximity?: EventHandler | undefined | null; onbeforeprint?: EventHandler | undefined | null; onafterprint?: EventHandler | undefined | null; onlanguagechange?: EventHandler | undefined | null; onorientationchange?: EventHandler | undefined | null; onmessage?: EventHandler | undefined | null; onmessageerror?: EventHandler | undefined | null; onoffline?: EventHandler | undefined | null; ononline?: EventHandler | undefined | null; onbeforeunload?: EventHandler | undefined | null; onunload?: EventHandler | undefined | null; onstorage?: EventHandler | undefined | null; onhashchange?: EventHandler | undefined | null; onpagehide?: EventHandler | undefined | null; onpageshow?: EventHandler | undefined | null; onpopstate?: EventHandler | undefined | null; ondevicemotion?: EventHandler | undefined | null; ondeviceorientation?: EventHandler | undefined | null; ondeviceorientationabsolute?: EventHandler | undefined | null; onunhandledrejection?: EventHandler | undefined | null; onrejectionhandled?: EventHandler | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SapperAnchorProps { // transformed from sapper:noscroll so it should be camel case sapperNoscroll?: true | undefined | null; sapperPrefetch?: true | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SvelteMediaTimeRange { start: number; end: number; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SvelteMediaProps { readonly duration?: number | undefined | null; readonly buffered?: SvelteMediaTimeRange[] | undefined | null; readonly played?: SvelteMediaTimeRange[] | undefined | null; readonly seekable?: SvelteMediaTimeRange[] | undefined | null; readonly seeking?: boolean | undefined | null; readonly ended?: boolean | undefined | null; /** * the current playback time in the video, in seconds */ currentTime?: number | undefined | null; /** * the current playback time in the video, in seconds */ currenttime?: number | undefined | null; // Doesn't work when used as HTML Attribute /** * how fast or slow to play the video, where 1 is 'normal' */ playbackRate?: number | undefined | null; paused?: boolean | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface SvelteVideoProps extends SvelteMediaProps { // Binding only, don't need lowercase variant readonly videoWidth?: number | undefined | null; readonly videoHeight?: number | undefined | null; } /** * @deprecated use the types from `svelte/elements` instead * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings */ interface IntrinsicElements { // HTML a: HTMLProps & SapperAnchorProps; abbr: HTMLProps; address: HTMLProps; area: HTMLProps; article: HTMLProps; aside: HTMLProps; audio: HTMLProps & SvelteMediaProps; b: HTMLProps; base: HTMLProps; bdi: HTMLProps; bdo: HTMLProps; big: HTMLProps; blockquote: HTMLProps; body: HTMLProps; br: HTMLProps; button: HTMLProps; canvas: HTMLProps; caption: HTMLProps; cite: HTMLProps; code: HTMLProps; col: HTMLProps; colgroup: HTMLProps; data: HTMLProps; datalist: HTMLProps; dd: HTMLProps; del: HTMLProps; details: HTMLProps; dfn: HTMLProps; dialog: HTMLProps; div: HTMLProps; dl: HTMLProps; dt: HTMLProps; em: HTMLProps; embed: HTMLProps; fieldset: HTMLProps; figcaption: HTMLProps; figure: HTMLProps; footer: HTMLProps; form: HTMLProps; h1: HTMLProps; h2: HTMLProps; h3: HTMLProps; h4: HTMLProps; h5: HTMLProps; h6: HTMLProps; head: HTMLProps; header: HTMLProps; hgroup: HTMLProps; hr: HTMLProps; html: HTMLProps; i: HTMLProps; iframe: HTMLProps; img: HTMLProps; input: SvelteInputProps; ins: HTMLProps; kbd: HTMLProps; keygen: HTMLProps; label: HTMLProps; legend: HTMLProps; li: HTMLProps; link: HTMLProps; main: HTMLProps; map: HTMLProps; mark: HTMLProps; menu: HTMLProps; menuitem: HTMLProps; meta: HTMLProps; meter: HTMLProps; nav: HTMLProps; noindex: HTMLProps; noscript: HTMLProps; object: HTMLProps; ol: HTMLProps; optgroup: HTMLProps; option: HTMLProps; output: HTMLProps; p: HTMLProps; param: HTMLProps; picture: HTMLProps; pre: HTMLProps; progress: HTMLProps; q: HTMLProps; rp: HTMLProps; rt: HTMLProps; ruby: HTMLProps; s: HTMLProps; samp: HTMLProps; script: HTMLProps; section: HTMLProps; select: HTMLProps; small: HTMLProps; source: HTMLProps; span: HTMLProps; strong: HTMLProps; style: HTMLProps; sub: HTMLProps; summary: HTMLProps; sup: HTMLProps; table: HTMLProps; tbody: HTMLProps; td: HTMLProps; textarea: HTMLProps; tfoot: HTMLProps; th: HTMLProps; thead: HTMLProps; time: HTMLProps; title: HTMLProps; tr: HTMLProps; track: HTMLProps; u: HTMLProps; ul: HTMLProps; var: HTMLProps; video: HTMLProps & SvelteVideoProps; wbr: HTMLProps; svg: SVGProps; animate: SVGProps; // @TODO: It is SVGAnimateElement but not in dom.d.ts for now. circle: SVGProps; clipPath: SVGProps; defs: SVGProps; desc: SVGProps; ellipse: SVGProps; feBlend: SVGProps; feColorMatrix: SVGProps; feComponentTransfer: SVGProps; feComposite: SVGProps; feConvolveMatrix: SVGProps; feDiffuseLighting: SVGProps; feDisplacementMap: SVGProps; feDistantLight: SVGProps; feFlood: SVGProps; feFuncA: SVGProps; feFuncB: SVGProps; feFuncG: SVGProps; feFuncR: SVGProps; feGaussianBlur: SVGProps; feImage: SVGProps; feMerge: SVGProps; feMergeNode: SVGProps; feMorphology: SVGProps; feOffset: SVGProps; fePointLight: SVGProps; feSpecularLighting: SVGProps; feSpotLight: SVGProps; feTile: SVGProps; feTurbulence: SVGProps; filter: SVGProps; foreignObject: SVGProps; g: SVGProps; image: SVGProps; line: SVGProps; linearGradient: SVGProps; marker: SVGProps; mask: SVGProps; metadata: SVGProps; path: SVGProps; pattern: SVGProps; polygon: SVGProps; polyline: SVGProps; radialGradient: SVGProps; rect: SVGProps; stop: SVGProps; switch: SVGProps; symbol: SVGProps; text: SVGProps; textPath: SVGProps; tspan: SVGProps; use: SVGProps; view: SVGProps; // Svelte specific sveltewindow: HTMLProps & SvelteWindowProps; sveltebody: HTMLProps; sveltefragment: { slot?: string; }; svelteoptions: { [name: string]: any }; sveltehead: { [name: string]: any }; svelteelement: { 'this': string | undefined | null; } & HTMLProps & SVGProps & SapperAnchorProps; // Needed due to backwards compatibility type which hits these 'svelte:window': HTMLProps & SvelteWindowProps; 'svelte:body': HTMLProps; 'svelte:fragment': { slot?: string; }; 'svelte:options': { [name: string]: any }; 'svelte:head': { [name: string]: any }; } }