/** * Shorthands for creating elements. Using these is better for minification. * * Both `doc` and `win` have a fallback to an object to support unit testing of * some things in a non-browser environment, such as `di()`. */ export declare const doc: Document; export declare const win: Window & typeof globalThis; export declare const cloneNode: (node: Node) => HTMLElement; export declare const createElement: Document['createElement']; export declare const createTextNode: (content: string) => Text; export declare const createComment: (content: string) => Comment; export declare const createDocumentFragment: () => DocumentFragment; export declare const createTemplate: () => HTMLTemplateElement; export declare const createTreeWalker: (root: Node, filter: number) => TreeWalker; export declare const sandboxStyleRules: (css: string) => CSSRuleList; export declare const testCssSelector: (selector: string) => boolean; export declare const toggleClass: (node: HTMLElement, className: string, force: boolean) => boolean; //# sourceMappingURL=elements.d.ts.map