import { Props } from '../../types'; export declare function setDocument(newDocument: Document): void; export declare function getDocument(): Document; export declare const api: { addEventListener(node: Node, eventName: string, fn: EventListener): () => void; attr(element: HTMLElement, name: string, value: string | null): void; prop(element: HTMLElement, name: string, value: any): any; parentNode(element: Node): ParentNode | null; comment(text?: string): Comment; text(text?: string | number): Text; textContent(node: Node, text: string): void; fragment(): DocumentFragment; element(tagName?: string, _namespace?: string, _ctx?: any, _props?: Props): HTMLElement; append(parent: HTMLElement | Node, child: HTMLElement | Node, targetIndex?: number): void; insert(parent: HTMLElement | Node, child: HTMLElement | Node, anchor?: HTMLElement | Node | null): void; destroy(node: Node): void; };