export type CreateElementAttrs = { [key in keyof HTMLElementEventMap as `on${key}`]?: (this: HTMLElementTagNameMap[TagName], evt: HTMLElementEventMap[key]) => void; } & { [key: string]: any | undefined; }; export declare function createElement(tag: TagName, attrs?: CreateElementAttrs | string | null, children?: (Node | string)[] | string): HTMLElementTagNameMap[TagName]; export declare function createText(text: any): Text; export declare function isDocumentFragment(value: Node): value is DocumentFragment; export declare function createFragment(...children: (Node | string)[]): DocumentFragment; export declare const passiveSupported: boolean; export declare const passiveCaptureOptions: boolean | Readonly<{ passive: true; capture: true; }>;