declare const NAMESPACE: { XUL: string; HTML: string; }; type Handler = (event?: any) => void | Promise; declare class Elements { private document; static all: WeakRef[]; static removeAll(): void; private className; constructor(prefix: string, document: Document); serialize(node: HTMLElement): string; create(name: string, attrs?: Record): HTMLElement; remove(): void; } export { Elements, NAMESPACE };