/** * Module for shared loader utils. Rules for this file: * * - No imports to anything * - Keep it small * - The utils must be used in lazy/index.ts and lazy/react.tsx * - All code must run in IE11 without any polyfills */ /** * Returns trues when VS should be open * * @param instanceId */ export declare function isSearchActive(instanceId?: string): boolean; export declare function createEmitter(): { once(fn: (...args: Args) => any): void; emit(...args: Args): void; }; export declare function assertMainEntryNotLoaded(): void; export declare function loadPolyfill(cb: () => any, options?: { url?: string; isModern?: boolean; }): void; export declare function isModern(): boolean; export declare function loadScript(url: string, cb?: VoidFunction): void;