export interface ExternalInfo { url: string; globalName?: string; urlTransformer?: string; includeImports?: string | string[]; } export interface Externals { [key: string]: ExternalInfo; } export type ModuleExternalInfo = Omit & { urlTransformer: (url: string) => string; }; export interface ModuleExternals { [key: string]: ModuleExternalInfo; } type GuaranteedCache = Pick; type CacheLike = Partial & GuaranteedCache; export declare class CachedExternal { url: string; loading: boolean; failed: boolean; error?: any; loaded: boolean; private response; private cachePromise?; private retries; private readyListener?; static MAX_RETRIES: number; constructor(url: string); getCache(forceStatic?: boolean): Promise; getContent(): Promise; setContent(content: string): Promise; waitForLoad(): Promise; waitForReady(): Promise; loadResponse(forceStatic?: boolean): Promise; load(): Promise; } export declare const EXTERNALS_MODULE_NAME: "externalsModule"; export declare const SYNCED_EXTERNALS_MODULE_NAME: "syncedExternals"; export {};