import React from 'react';
type LoadOptions = {
    delay?: number;
};
type LoadFunction = (action?: (...args: any) => unknown | Promise<unknown>, toggle?: Function, options?: LoadOptions) => Promise<void>;
type LoadableComponent = {
    loaded: boolean;
    load: LoadFunction;
};
type C = React.LazyExoticComponent<React.ComponentType<any>> & LoadableComponent;
export declare function loadable(factory: () => Promise<{
    default: React.ComponentType<any>;
}>, timeout?: number): C;
export {};
