UNPKG

626 BTypeScriptView Raw
1import { DefaultImport, Loadable } from '../types';
2/**
3 * try to perform a render and loads all chunks required for it
4 * @deprecated
5 */
6export declare const dryRender: (renderFunction: () => void) => Promise<unknown>;
7export declare function executeLoadable(importFunction: DefaultImport<any> | Loadable<any>): Promise<any>;
8/**
9 * wraps an `import` function with a tracker
10 * @internal
11 * @param importFunction
12 */
13export declare function getLoadable<T>(importFunction: DefaultImport<T> | Loadable<T>): Loadable<T>;
14/**
15 * Reset `importers` weak cache
16 * @internal
17 */
18export declare const clearImportedCache: () => void;