import React, { ReactNode } from 'react'; interface LazyCaptureContextType { notifyRender(path: string): void; } export declare const LazyCaptureContext: React.Context; export interface LazyCaptureProps { readonly rendered: string[]; readonly children?: ReactNode; } export declare function LazyCapture(props: LazyCaptureProps): JSX.Element; export declare function lazy(path: string, callback: () => Promise<{ default: React.ComponentType; }>): () => JSX.Element; export declare function preloadAllLazyComponents(): Promise; export declare function preloadLazyComponents(keys: string[]): Promise; export {}; //# sourceMappingURL=lazy.d.ts.map