// Generated by dts-bundle-generator v9.5.1 export interface Signal { /** The current value of the signal */ get(): V; /** Set new value of the signal */ set(value: V, force?: boolean): V; toJSON(): V; valueOf(): V; } export type Action = (this: { value: V; stopPropagation(): void; }, ...a: any[]) => typeof signal._ | void; //type SymbolSignal= Symbol; export type SymbolOnclear = symbol; export type Actions = Record>; export type OnListenerOptions = Pick & { first_time?: boolean; }; export type SElement = Node | Element | DocumentFragment | ddeHTMLElement | ddeSVGElement | ddeDocumentFragment; export interface signal { _: Symbol; /** * Computations signal. This creates a signal which is computed from other signals. * */ any>(computation: V): Signal, {}>; /** * Simple example: * ```js * const hello= S("Hello Signal"); * ``` * …simple todo signal: * ```js * const todos= S([], { * add(v){ this.value.push(S(v)); }, * remove(i){ this.value.splice(i, 1); }, * [S.symbols.onclear](){ S.clear(...this.value); }, * }); * ``` * …computed signal: * ```js * const name= S("Jan"); * const surname= S("Andrle"); * const fullname= S(()=> name.get()+" "+surname.get()); * ``` * @param value Initial signal value. Or function computing value from other signals. * @param actions Use to define actions on the signal. Such as add item to the array. * There is also a reserved function `S.symbol.onclear` which is called when the signal is cleared * by `S.clear`. * */ >(value: V, actions?: A): Signal; action>, A extends (S extends Signal ? A : never), N extends keyof A>(signal: S, name: N, ...params: A[N] extends (...args: infer P) => any ? P : never): void; clear(...signals: Signal[]): void; on(signal: Signal, onchange: (a: T) => void, options?: OnListenerOptions): void; symbols: { //signal: SymbolSignal; onclear: SymbolOnclear; }; /** * Reactive element, which is rendered based on the given signal. * ```js * S.el(signal, value=> value ? el("b", "True") : el("i", "False")); * S.el(listS, list=> list.map(li=> el("li", li))); * ``` * */ el(signal: Signal, el: (v: S) => SElement | SElement[]): DocumentFragment; observedAttributes(custom_element: HTMLElement): Record>; } export const signal: signal; export const S: signal; declare global { type ddeSignal = Signal; type ddeAction = Action; type ddeActions = Actions; } export type CustomElementTagNameMap = { "#text": Text; "#comment": Comment; }; export type SupportedElement = HTMLElementTagNameMap[keyof HTMLElementTagNameMap] | SVGElementTagNameMap[keyof SVGElementTagNameMap] | MathMLElementTagNameMap[keyof MathMLElementTagNameMap] | CustomElementTagNameMap[keyof CustomElementTagNameMap]; declare global { type ddeComponentAttributes = Record | undefined; type ddeElementAddon = (element: El, ...rest: any) => any; type ddeString = string | Signal; type ddeStringable = ddeString | number | Signal; } export type Host = (...addons: ddeElementAddon[]) => EL; export type PascalCase = `${Capitalize}${string}`; export type AttrsModified = { /** * Use string like in HTML (internally uses `*.setAttribute("style", *)`), or object representation (like DOM API). */ style: Partial | ddeString | Partial<{ [K in keyof CSSStyleDeclaration]: Signal; }>; /** * Provide option to add/remove/toggle CSS clasess (index of object) using 1/0/-1. * In fact `el.classList.toggle(class_name)` for `-1` and `el.classList.toggle(class_name, Boolean(...))` * for others. */ classList: Record>; /** * Used by the dataset HTML attribute to represent data for custom attributes added to elements. * Values are converted to string (see {@link DOMStringMap}). * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMStringMap) * */ dataset: Record; /** * Sets `aria-*` simiraly to `dataset` * */ ariaset: Record; } & Record<`=${string}` | `data${PascalCase}` | `aria${PascalCase}`, ddeString> & Record<`.${string}`, any>; export type _fromElsInterfaces = Omit; export type IsReadonly = T extends { readonly [P in K]: T[K]; } ? true : false; /** * Just element attributtes * * In most cases, you can use native propertie such as * [MDN WEB/API/Element](https://developer.mozilla.org/en-US/docs/Web/API/Element) and so on * (e.g. [`Text`](https://developer.mozilla.org/en-US/docs/Web/API/Text)). * * There is added support for `data[A-Z].*`/`aria[A-Z].*` to be converted to the kebab-case alternatives. * @private */ export type ElementAttributes = Partial<{ [K in keyof _fromElsInterfaces]: _fromElsInterfaces[K] extends ((...p: any[]) => any) ? _fromElsInterfaces[K] | ((...p: Parameters<_fromElsInterfaces[K]>) => Signal[K]>, {}>) : (IsReadonly<_fromElsInterfaces, K> extends false ? _fromElsInterfaces[K] | Signal<_fromElsInterfaces[K], {}> : ddeStringable); } & AttrsModified> & Record; export function classListDeclarative(element: El, classList: AttrsModified["classList"]): El; export function assign(element: El, ...attrs_array: ElementAttributes[]): El; export function assignAttribute>(element: El, attr: ATT, value: ElementAttributes[ATT]): ElementAttributes[ATT]; export type ExtendedHTMLElementTagNameMap = HTMLElementTagNameMap & CustomElementTagNameMap; export namespace el { /** * Creates a marker comment for elements * * @param attrs - Marker attributes * @param [is_open=false] - Whether the marker is open-ended * @returns Comment node marker */ export function mark(attrs: { type: "component" | "reactive" | "later"; name?: string; host?: "this" | "parentElement"; }, is_open?: boolean): Comment; } export function chainableAppend(el: EL): EL | ddeHTMLElement; export function el(component: (attr: A, ...rest: any[]) => EL, attrs?: NoInfer, ...addons: ddeElementAddon[]): EL extends ddeHTMLElementTagNameMap[keyof ddeHTMLElementTagNameMap] ? EL : (EL extends ddeDocumentFragment ? EL : ddeHTMLElement); export function el(component: (attr: A, ...rest: any[]) => EL, attrs?: NoInfer["textContent"], ...addons: ddeElementAddon[]): EL extends ddeHTMLElementTagNameMap[keyof ddeHTMLElementTagNameMap] ? EL : (EL extends ddeDocumentFragment ? EL : ddeHTMLElement); export function el(tag_name: TAG, attrs?: ElementAttributes]> | ddeStringable, ...addons: ddeElementAddon]>[]): TAG extends keyof ddeHTMLElementTagNameMap ? ddeHTMLElementTagNameMap[TAG] : ddeHTMLElement; export function el(tag_name?: "<>"): ddeDocumentFragment; export function el(tag_name: string, attrs?: ElementAttributes | ddeStringable, ...addons: ddeElementAddon[]): ddeHTMLElement; export function elNS(namespace: "http://www.w3.org/2000/svg"): (tag_name: TAG, attrs?: ElementAttributes> | ddeStringable, ...addons: ddeElementAddon>[]) => TAG extends keyof ddeSVGElementTagNameMap ? ddeSVGElementTagNameMap[TAG] : ddeSVGElement; export function elNS(namespace: "http://www.w3.org/1998/Math/MathML"): (tag_name: TAG, attrs?: ddeStringable | Partial<{ [key in keyof EL]: EL[key] | Signal | string | number | boolean; }>, ...addons: ddeElementAddon>[]) => ddeMathMLElement; export function elNS(namespace: string): (tag_name: string, attrs?: string | ddeStringable | Record, ...addons: ddeElementAddon[]) => SupportedElement; /** Simulate slots for ddeComponents */ export function simulateSlots(root: EL): EL; /** * Simulate slots in Custom Elements without using `shadowRoot`. * @param el Custom Element root element * @param body Body of the custom element * */ export function simulateSlots(el: HTMLElement, body: EL): EL; declare function dispatchEvent$1(name: keyof DocumentEventMap | string, host: Host): (data?: any) => void; declare function dispatchEvent$1(name: keyof DocumentEventMap | string, options?: EventInit): (element: SupportedElement, data?: any) => void; declare function dispatchEvent$1(name: keyof DocumentEventMap | string, options: EventInit | null, host: Host): (data?: any) => void; export interface On { /** Listens to the DOM event. See {@link Document.addEventListener} */ (type: Event, listener: (this: EL, ev: DocumentEventMap[Event] & { target: EL; }) => any, options?: AddEventListenerOptions): ddeElementAddon; = ddeElementAddon>(type: string, listener: (this: EE extends ddeElementAddon ? El : never, ev: Event | CustomEvent) => any, options?: AddEventListenerOptions): EE; /** Listens to the element is connected to the live DOM. In case of custom elements uses [`connectedCallback`](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#custom_element_lifecycle_callbacks), or {@link MutationObserver} else where */ // editorconfig-checker-disable-line connected(listener: (this: EL, event: CustomEvent>) => any, options?: AddEventListenerOptions): ddeElementAddon; /** Listens to the element is disconnected from the live DOM. In case of custom elements uses [`disconnectedCallback`](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements#custom_element_lifecycle_callbacks), or {@link MutationObserver} else where */ // editorconfig-checker-disable-line disconnected(listener: (this: EL, event: CustomEvent) => any, options?: AddEventListenerOptions): ddeElementAddon; /** * Fires after the next tick of the Javascript event loop. * This is handy for example to apply some property depending on the element content: * ```js * const selected= "Z"; * //... * return el("form").append( * el("select", null, on.defer(e=> e.value=selected)).append( * el("option", { value: "A", textContent: "A" }), * //... * el("option", { value: "Z", textContent: "Z" }), * ), * ); * ``` * */ defer(listener: (element: EL) => any): ddeElementAddon; } export const on: On; export type Scope = { scope: Node | Function | Object; host: Host; custom_element: false | HTMLElement; prevent: boolean; }; /** Current scope created last time the `el(Function)` was invoke. (Or {@link scope.push}) */ export const scope: { current: Scope; /** Stops all automatizations. E. g. signals used as attributes in current scope * registers removing these listeners (and clean signal if no other listeners are detected) * on `disconnected` event. */ preventDefault(prevent: T): T; /** * This represents reference to the current host element — `scope.host()`. * It can be also used to register Addon(s) (functions to be called when component is initized) * — `scope.host(on.connected(console.log))`. * */ host: Host; /** * Creates/gets an AbortController that triggers when the element disconnects * */ signal: AbortSignal; state: Scope[]; /** Adds new child scope. All attributes are inherited by default. */ push(scope?: Partial): ReturnType["push"]>; /** Adds root scope as a child of the current scope. */ pushRoot(): ReturnType["push"]>; /** Removes last/current child scope. */ pop(): ReturnType["pop"]>; }; export function customElementRender>>(target: ShadowRoot | EL, render: (props: P) => SupportedElement | DocumentFragment, props?: P | ((el: EL) => P)): EL; export function customElementWithDDE HTMLElement)>(custom_element: EL): EL; export function lifecyclesToEvents HTMLElement)>(custom_element: EL): EL; /** * This is used primarly for server side rendering. To be sure that all async operations * are finished before the page is sent to the client. * ``` * // on component * function component(){ * … * queue(fetch(...).then(...)); * } * * // building the page * async function build(){ * const { component }= await import("./component.js"); * document.body.append(el(component)); * await queue(); * retutn document.body.innerHTML; * } * ``` * */ export function queue(promise?: Promise): Promise; /** * Memoization utility for caching DOM elements to improve performance. * Used to prevent unnecessary recreation of elements when rendering lists or complex components. * * @param key - Unique identifier for the element (usually an ID or unique value) * @param generator - Function that creates the element * @returns The cached element if the key exists, otherwise the result of the generator function * * @example * ```ts * // Within S.el for list rendering * S.el(itemsSignal, (items, memo) => * el("ul").append( * ...items.map(item => * memo(item.id, () => el(ItemComponent, item)) * ) * ) * ) * ``` */ export function memo(key: string | number | object, generator: (key: any) => T): T; /** * Memo namespace containing utility functions for memoization. */ export namespace memo { /** * Checks if an object is a memo scope. * @param obj - The object to check * @returns True if the object is a memo scope */ export function isScope(obj: any): boolean; /** * Creates a memoized function with optional cleanup support. * * @param fun - The function to memoize * @param options - Configuration options * @param options.signal - AbortSignal for cleanup * @param options.onlyLast - When true, only keeps the cache from the most recent call * @returns A memoized version of the function with a .clear() method * * @example * ```ts * const renderItems = memo.scope(function(items) { * return items.map(item => * memo(item.id, () => el("div", item.name)) * ); * }, { * signal: controller.signal, * onlyLast: true * }); * ``` */ export function scope(fun: F, options?: { signal?: AbortSignal; onlyLast?: boolean; }): F & { clear: () => void; }; } /* TypeScript MEH */ declare global { type ddeAppend = (...nodes: (Node | string)[]) => el; interface ddeDocumentFragment extends DocumentFragment { append: ddeAppend; } interface ddeHTMLElement extends HTMLElement { append: ddeAppend; } interface ddeSVGElement extends SVGElement { append: ddeAppend; } interface ddeMathMLElement extends MathMLElement { append: ddeAppend; } interface ddeHTMLElementTagNameMap { "a": ddeHTMLAnchorElement; "area": ddeHTMLAreaElement; "audio": ddeHTMLAudioElement; "base": ddeHTMLBaseElement; "blockquote": ddeHTMLQuoteElement; "body": ddeHTMLBodyElement; "br": ddeHTMLBRElement; "button": ddeHTMLButtonElement; "canvas": ddeHTMLCanvasElement; "caption": ddeHTMLTableCaptionElement; "col": ddeHTMLTableColElement; "colgroup": ddeHTMLTableColElement; "data": ddeHTMLDataElement; "datalist": ddeHTMLDataListElement; "del": ddeHTMLModElement; "details": ddeHTMLDetailsElement; "dialog": ddeHTMLDialogElement; "div": ddeHTMLDivElement; "dl": ddeHTMLDListElement; "embed": ddeHTMLEmbedElement; "fieldset": ddeHTMLFieldSetElement; "form": ddeHTMLFormElement; "h1": ddeHTMLHeadingElement; "h2": ddeHTMLHeadingElement; "h3": ddeHTMLHeadingElement; "h4": ddeHTMLHeadingElement; "h5": ddeHTMLHeadingElement; "h6": ddeHTMLHeadingElement; "head": ddeHTMLHeadElement; "hr": ddeHTMLHRElement; "html": ddeHTMLHtmlElement; "iframe": ddeHTMLIFrameElement; "img": ddeHTMLImageElement; "input": ddeHTMLInputElement; "ins": ddeHTMLModElement; "label": ddeHTMLLabelElement; "legend": ddeHTMLLegendElement; "li": ddeHTMLLIElement; "link": ddeHTMLLinkElement; "map": ddeHTMLMapElement; "menu": ddeHTMLMenuElement; "meta": ddeHTMLMetaElement; "meter": ddeHTMLMeterElement; "object": ddeHTMLObjectElement; "ol": ddeHTMLOListElement; "optgroup": ddeHTMLOptGroupElement; "option": ddeHTMLOptionElement; "output": ddeHTMLOutputElement; "p": ddeHTMLParagraphElement; "picture": ddeHTMLPictureElement; "pre": ddeHTMLPreElement; "progress": ddeHTMLProgressElement; "q": ddeHTMLQuoteElement; "script": ddeHTMLScriptElement; "select": ddeHTMLSelectElement; "slot": ddeHTMLSlotElement; "source": ddeHTMLSourceElement; "span": ddeHTMLSpanElement; "style": ddeHTMLStyleElement; "table": ddeHTMLTableElement; "tbody": ddeHTMLTableSectionElement; "td": ddeHTMLTableCellElement; "template": ddeHTMLTemplateElement; "textarea": ddeHTMLTextAreaElement; "tfoot": ddeHTMLTableSectionElement; "th": ddeHTMLTableCellElement; "thead": ddeHTMLTableSectionElement; "time": ddeHTMLTimeElement; "title": ddeHTMLTitleElement; "tr": ddeHTMLTableRowElement; "track": ddeHTMLTrackElement; "ul": ddeHTMLUListElement; "video": ddeHTMLVideoElement; } interface ddeSVGElementTagNameMap { "a": ddeSVGAElement; "animate": ddeSVGAnimateElement; "animateMotion": ddeSVGAnimateMotionElement; "animateTransform": ddeSVGAnimateTransformElement; "circle": ddeSVGCircleElement; "clipPath": ddeSVGClipPathElement; "defs": ddeSVGDefsElement; "desc": ddeSVGDescElement; "ellipse": ddeSVGEllipseElement; "feBlend": ddeSVGFEBlendElement; "feColorMatrix": ddeSVGFEColorMatrixElement; "feComponentTransfer": ddeSVGFEComponentTransferElement; "feComposite": ddeSVGFECompositeElement; "feConvolveMatrix": ddeSVGFEConvolveMatrixElement; "feDiffuseLighting": ddeSVGFEDiffuseLightingElement; "feDisplacementMap": ddeSVGFEDisplacementMapElement; "feDistantLight": ddeSVGFEDistantLightElement; "feDropShadow": ddeSVGFEDropShadowElement; "feFlood": ddeSVGFEFloodElement; "feFuncA": ddeSVGFEFuncAElement; "feFuncB": ddeSVGFEFuncBElement; "feFuncG": ddeSVGFEFuncGElement; "feFuncR": ddeSVGFEFuncRElement; "feGaussianBlur": ddeSVGFEGaussianBlurElement; "feImage": ddeSVGFEImageElement; "feMerge": ddeSVGFEMergeElement; "feMergeNode": ddeSVGFEMergeNodeElement; "feMorphology": ddeSVGFEMorphologyElement; "feOffset": ddeSVGFEOffsetElement; "fePointLight": ddeSVGFEPointLightElement; "feSpecularLighting": ddeSVGFESpecularLightingElement; "feSpotLight": ddeSVGFESpotLightElement; "feTile": ddeSVGFETileElement; "feTurbulence": ddeSVGFETurbulenceElement; "filter": ddeSVGFilterElement; "foreignObject": ddeSVGForeignObjectElement; "g": ddeSVGGElement; "image": ddeSVGImageElement; "line": ddeSVGLineElement; "linearGradient": ddeSVGLinearGradientElement; "marker": ddeSVGMarkerElement; "mask": ddeSVGMaskElement; "metadata": ddeSVGMetadataElement; "mpath": ddeSVGMPathElement; "path": ddeSVGPathElement; "pattern": ddeSVGPatternElement; "polygon": ddeSVGPolygonElement; "polyline": ddeSVGPolylineElement; "radialGradient": ddeSVGRadialGradientElement; "rect": ddeSVGRectElement; "script": ddeSVGScriptElement; "set": ddeSVGSetElement; "stop": ddeSVGStopElement; "style": ddeSVGStyleElement; "svg": ddeSVGSVGElement; "switch": ddeSVGSwitchElement; "symbol": ddeSVGSymbolElement; "text": ddeSVGTextElement; "textPath": ddeSVGTextPathElement; "title": ddeSVGTitleElement; "tspan": ddeSVGTSpanElement; "use": ddeSVGUseElement; "view": ddeSVGViewElement; } } // editorconfig-checker-disable export interface ddeHTMLAnchorElement extends HTMLAnchorElement { append: ddeAppend; } export interface ddeHTMLAreaElement extends HTMLAreaElement { append: ddeAppend; } export interface ddeHTMLAudioElement extends HTMLAudioElement { append: ddeAppend; } export interface ddeHTMLBaseElement extends HTMLBaseElement { append: ddeAppend; } export interface ddeHTMLQuoteElement extends HTMLQuoteElement { append: ddeAppend; } export interface ddeHTMLBodyElement extends HTMLBodyElement { append: ddeAppend; } export interface ddeHTMLBRElement extends HTMLBRElement { append: ddeAppend; } export interface ddeHTMLButtonElement extends HTMLButtonElement { append: ddeAppend; } export interface ddeHTMLCanvasElement extends HTMLCanvasElement { append: ddeAppend; } export interface ddeHTMLTableCaptionElement extends HTMLTableCaptionElement { append: ddeAppend; } export interface ddeHTMLTableColElement extends HTMLTableColElement { append: ddeAppend; } export interface ddeHTMLTableColElement extends HTMLTableColElement { append: ddeAppend; } export interface ddeHTMLDataElement extends HTMLDataElement { append: ddeAppend; } export interface ddeHTMLDataListElement extends HTMLDataListElement { append: ddeAppend; } export interface ddeHTMLModElement extends HTMLModElement { append: ddeAppend; } export interface ddeHTMLDetailsElement extends HTMLDetailsElement { append: ddeAppend; } export interface ddeHTMLDialogElement extends HTMLDialogElement { append: ddeAppend; } export interface ddeHTMLDivElement extends HTMLDivElement { append: ddeAppend; } export interface ddeHTMLDListElement extends HTMLDListElement { append: ddeAppend; } export interface ddeHTMLEmbedElement extends HTMLEmbedElement { append: ddeAppend; } export interface ddeHTMLFieldSetElement extends HTMLFieldSetElement { append: ddeAppend; } export interface ddeHTMLFormElement extends HTMLFormElement { append: ddeAppend; } export interface ddeHTMLHeadingElement extends HTMLHeadingElement { append: ddeAppend; } export interface ddeHTMLHeadElement extends HTMLHeadElement { append: ddeAppend; } export interface ddeHTMLHRElement extends HTMLHRElement { append: ddeAppend; } export interface ddeHTMLHtmlElement extends HTMLHtmlElement { append: ddeAppend; } export interface ddeHTMLIFrameElement extends HTMLIFrameElement { append: ddeAppend; } export interface ddeHTMLImageElement extends HTMLImageElement { append: ddeAppend; } export interface ddeHTMLInputElement extends HTMLInputElement { append: ddeAppend; } export interface ddeHTMLLabelElement extends HTMLLabelElement { append: ddeAppend; } export interface ddeHTMLLegendElement extends HTMLLegendElement { append: ddeAppend; } export interface ddeHTMLLIElement extends HTMLLIElement { append: ddeAppend; } export interface ddeHTMLLinkElement extends HTMLLinkElement { append: ddeAppend; } export interface ddeHTMLMapElement extends HTMLMapElement { append: ddeAppend; } export interface ddeHTMLMenuElement extends HTMLMenuElement { append: ddeAppend; } export interface ddeHTMLMetaElement extends HTMLMetaElement { append: ddeAppend; } export interface ddeHTMLMeterElement extends HTMLMeterElement { append: ddeAppend; } export interface ddeHTMLObjectElement extends HTMLObjectElement { append: ddeAppend; } export interface ddeHTMLOListElement extends HTMLOListElement { append: ddeAppend; } export interface ddeHTMLOptGroupElement extends HTMLOptGroupElement { append: ddeAppend; } export interface ddeHTMLOptionElement extends HTMLOptionElement { append: ddeAppend; } export interface ddeHTMLOutputElement extends HTMLOutputElement { append: ddeAppend; } export interface ddeHTMLParagraphElement extends HTMLParagraphElement { append: ddeAppend; } export interface ddeHTMLPictureElement extends HTMLPictureElement { append: ddeAppend; } export interface ddeHTMLPreElement extends HTMLPreElement { append: ddeAppend; } export interface ddeHTMLProgressElement extends HTMLProgressElement { append: ddeAppend; } export interface ddeHTMLScriptElement extends HTMLScriptElement { append: ddeAppend; } export interface ddeHTMLSelectElement extends HTMLSelectElement { append: ddeAppend; } export interface ddeHTMLSlotElement extends HTMLSlotElement { append: ddeAppend; } export interface ddeHTMLSourceElement extends HTMLSourceElement { append: ddeAppend; } export interface ddeHTMLSpanElement extends HTMLSpanElement { append: ddeAppend; } export interface ddeHTMLStyleElement extends HTMLStyleElement { append: ddeAppend; } export interface ddeHTMLTableElement extends HTMLTableElement { append: ddeAppend; } export interface ddeHTMLTableSectionElement extends HTMLTableSectionElement { append: ddeAppend; } export interface ddeHTMLTableCellElement extends HTMLTableCellElement { append: ddeAppend; } export interface ddeHTMLTemplateElement extends HTMLTemplateElement { append: ddeAppend; } export interface ddeHTMLTextAreaElement extends HTMLTextAreaElement { append: ddeAppend; } export interface ddeHTMLTableCellElement extends HTMLTableCellElement { append: ddeAppend; } export interface ddeHTMLTimeElement extends HTMLTimeElement { append: ddeAppend; } export interface ddeHTMLTitleElement extends HTMLTitleElement { append: ddeAppend; } export interface ddeHTMLTableRowElement extends HTMLTableRowElement { append: ddeAppend; } export interface ddeHTMLTrackElement extends HTMLTrackElement { append: ddeAppend; } export interface ddeHTMLUListElement extends HTMLUListElement { append: ddeAppend; } export interface ddeHTMLVideoElement extends HTMLVideoElement { append: ddeAppend; } export interface ddeSVGAElement extends SVGAElement { append: ddeAppend; } export interface ddeSVGAnimateElement extends SVGAnimateElement { append: ddeAppend; } export interface ddeSVGAnimateMotionElement extends SVGAnimateMotionElement { append: ddeAppend; } export interface ddeSVGAnimateTransformElement extends SVGAnimateTransformElement { append: ddeAppend; } export interface ddeSVGCircleElement extends SVGCircleElement { append: ddeAppend; } export interface ddeSVGClipPathElement extends SVGClipPathElement { append: ddeAppend; } export interface ddeSVGDefsElement extends SVGDefsElement { append: ddeAppend; } export interface ddeSVGDescElement extends SVGDescElement { append: ddeAppend; } export interface ddeSVGEllipseElement extends SVGEllipseElement { append: ddeAppend; } export interface ddeSVGFEBlendElement extends SVGFEBlendElement { append: ddeAppend; } export interface ddeSVGFEColorMatrixElement extends SVGFEColorMatrixElement { append: ddeAppend; } export interface ddeSVGFEComponentTransferElement extends SVGFEComponentTransferElement { append: ddeAppend; } export interface ddeSVGFECompositeElement extends SVGFECompositeElement { append: ddeAppend; } export interface ddeSVGFEConvolveMatrixElement extends SVGFEConvolveMatrixElement { append: ddeAppend; } export interface ddeSVGFEDiffuseLightingElement extends SVGFEDiffuseLightingElement { append: ddeAppend; } export interface ddeSVGFEDisplacementMapElement extends SVGFEDisplacementMapElement { append: ddeAppend; } export interface ddeSVGFEDistantLightElement extends SVGFEDistantLightElement { append: ddeAppend; } export interface ddeSVGFEDropShadowElement extends SVGFEDropShadowElement { append: ddeAppend; } export interface ddeSVGFEFloodElement extends SVGFEFloodElement { append: ddeAppend; } export interface ddeSVGFEFuncAElement extends SVGFEFuncAElement { append: ddeAppend; } export interface ddeSVGFEFuncBElement extends SVGFEFuncBElement { append: ddeAppend; } export interface ddeSVGFEFuncGElement extends SVGFEFuncGElement { append: ddeAppend; } export interface ddeSVGFEFuncRElement extends SVGFEFuncRElement { append: ddeAppend; } export interface ddeSVGFEGaussianBlurElement extends SVGFEGaussianBlurElement { append: ddeAppend; } export interface ddeSVGFEImageElement extends SVGFEImageElement { append: ddeAppend; } export interface ddeSVGFEMergeElement extends SVGFEMergeElement { append: ddeAppend; } export interface ddeSVGFEMergeNodeElement extends SVGFEMergeNodeElement { append: ddeAppend; } export interface ddeSVGFEMorphologyElement extends SVGFEMorphologyElement { append: ddeAppend; } export interface ddeSVGFEOffsetElement extends SVGFEOffsetElement { append: ddeAppend; } export interface ddeSVGFEPointLightElement extends SVGFEPointLightElement { append: ddeAppend; } export interface ddeSVGFESpecularLightingElement extends SVGFESpecularLightingElement { append: ddeAppend; } export interface ddeSVGFESpotLightElement extends SVGFESpotLightElement { append: ddeAppend; } export interface ddeSVGFETileElement extends SVGFETileElement { append: ddeAppend; } export interface ddeSVGFETurbulenceElement extends SVGFETurbulenceElement { append: ddeAppend; } export interface ddeSVGFilterElement extends SVGFilterElement { append: ddeAppend; } export interface ddeSVGForeignObjectElement extends SVGForeignObjectElement { append: ddeAppend; } export interface ddeSVGGElement extends SVGGElement { append: ddeAppend; } export interface ddeSVGImageElement extends SVGImageElement { append: ddeAppend; } export interface ddeSVGLineElement extends SVGLineElement { append: ddeAppend; } export interface ddeSVGLinearGradientElement extends SVGLinearGradientElement { append: ddeAppend; } export interface ddeSVGMarkerElement extends SVGMarkerElement { append: ddeAppend; } export interface ddeSVGMaskElement extends SVGMaskElement { append: ddeAppend; } export interface ddeSVGMetadataElement extends SVGMetadataElement { append: ddeAppend; } export interface ddeSVGMPathElement extends SVGMPathElement { append: ddeAppend; } export interface ddeSVGPathElement extends SVGPathElement { append: ddeAppend; } export interface ddeSVGPatternElement extends SVGPatternElement { append: ddeAppend; } export interface ddeSVGPolygonElement extends SVGPolygonElement { append: ddeAppend; } export interface ddeSVGPolylineElement extends SVGPolylineElement { append: ddeAppend; } export interface ddeSVGRadialGradientElement extends SVGRadialGradientElement { append: ddeAppend; } export interface ddeSVGRectElement extends SVGRectElement { append: ddeAppend; } export interface ddeSVGScriptElement extends SVGScriptElement { append: ddeAppend; } export interface ddeSVGSetElement extends SVGSetElement { append: ddeAppend; } export interface ddeSVGStopElement extends SVGStopElement { append: ddeAppend; } export interface ddeSVGStyleElement extends SVGStyleElement { append: ddeAppend; } export interface ddeSVGSVGElement extends SVGSVGElement { append: ddeAppend; } export interface ddeSVGSwitchElement extends SVGSwitchElement { append: ddeAppend; } export interface ddeSVGSymbolElement extends SVGSymbolElement { append: ddeAppend; } export interface ddeSVGTextElement extends SVGTextElement { append: ddeAppend; } export interface ddeSVGTextPathElement extends SVGTextPathElement { append: ddeAppend; } export interface ddeSVGTitleElement extends SVGTitleElement { append: ddeAppend; } export interface ddeSVGTSpanElement extends SVGTSpanElement { append: ddeAppend; } export interface ddeSVGUseElement extends SVGUseElement { append: ddeAppend; } export interface ddeSVGViewElement extends SVGViewElement { append: ddeAppend; } export { dispatchEvent$1 as dispatchEvent, el as createElement, elNS as createElementNS, }; export {};