export type ModuleExports = Record; export interface WebpackGlobalsOptions { /** Static closed registry: hosted module id -> module exports. */ modules?: Record; /** * Async loader for chunk ids not covered by `modules`. Receives the full * chunk id (possibly `moduleId#export`); resolved exports merge into the * module's cache entry under the id before `#`. */ load?: (chunkId: string) => Promise; /** * Chunk-filename template (`__webpack_require__.u` in production builds, * `__webpack_get_script_filename__` in development builds). Defaults to the * identity — correct for a composed bundle where nothing is fetched by URL. */ chunkFilename?: (chunkId: string) => string; /** Overwrite a foreign (non-rsl) `__webpack_require__` instead of throwing. */ force?: boolean; } export interface WebpackGlobalsHandle { /** Remove the globals this install created (restores prior values). */ uninstall(): void; } export declare function installWebpackGlobals(options?: WebpackGlobalsOptions): WebpackGlobalsHandle; //# sourceMappingURL=installWebpackGlobals.d.ts.map