declare type AllowedAttributes = 'type' | 'charset' | 'async' | 'text'; declare type Options = Partial> & { attrs?: Record; }; declare function loadBackupScript(src: HTMLScriptElement['src'][], variableName: string, options?: Options): Promise; export default loadBackupScript;