import * as i0 from "@angular/core"; export declare class ScriptLoaderService { document: Document; private head; private alreadyLoaded; constructor(document: any); private observeLoad; private createScriptElement; private createCSSElement; /** * Dynamically loads the given script * * @param src The url of the script to load dynamically * @param integrity set integrity check value * @returns Observable Observable that will be resolved once the script has been loaded. */ loadScript(src: string, integrity?: string): Promise; /** * Dynamically loads the given CSS file * * @param href The url of the CSS to load dynamically * @returns Observable Promise that will be resolved once the CSS file has been loaded. */ loadCSS(href: string): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }