export declare const prevent: (ev: any) => any; export declare const hasWindow: () => boolean; export declare const stop: (ev: any) => any; export declare const getElAttributes: (el: HTMLElement) => Record; export declare const loadStyle: (href: string) => Promise; export declare const onKeyDown: (key: string, clb: () => void) => () => void; export declare const copyToClipboard: (str?: string) => void; export declare const onKeyEscape: (clb: () => void) => () => void; type ScriptToLoad = { id: string; src: string; }; type LoadScriptOptions = { loadedScripts?: Map; onScript?: (el: HTMLScriptElement) => void; }; export declare const loadScript: (src: string | ScriptToLoad, opts?: LoadScriptOptions) => Promise; export declare const loadScripts: (scripts: { id: string; src: string; }[], opts?: LoadScriptOptions) => Promise[]>; export declare const loadScriptsNoDefine: (scripts: { id: string; src: string; }[], opts?: LoadScriptOptions) => Promise[]>; export declare function executeScriptNodes(node: HTMLElement): void; export declare const sanitizeHtmlBody: (value?: string) => string; export declare const sanitizeHtmlHead: (value?: string) => string; export declare const sanitizeSvg: (svg?: string, size?: number | string) => string; export {};