export declare class CannyLoader { protected readonly scriptId: string; protected readonly href: string; protected static loaders: { [script: string]: CannyLoader; }; protected _loader?: Promise; protected script: HTMLScriptElement; protected constructor(scriptId: string, href: string); get loader(): Promise; protected handleLoad(): Promise; protected handleError(err: any): Promise; static load(scriptId: string, href: string): Promise; }