export declare const prevent: (ev: any) => any;
export declare const hasWindow: () => boolean;
export declare const stop: (ev: any) => any;
export declare const loadStyle: (href: string) => Promise<void>;
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;
};
export declare const loadScript: (src: string | ScriptToLoad, opts?: {
    onScript?: ((el: HTMLScriptElement) => void) | undefined;
}) => Promise<string>;
export declare const loadScripts: (scripts: {
    id: string;
    src: string;
}[]) => Promise<PromiseSettledResult<string>[]>;
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 {};
