import React from 'react'; export declare type LoaderComponent
= Promise ;
}>;
export declare type Loader = (() => LoaderComponent ) | LoaderComponent ;
export declare type LoaderMap = {
[mdule: string]: () => Loader = LoadableGeneratedOptions & {
loading?: ({ error, isLoading, pastDelay, }: {
error?: Error | null;
isLoading?: boolean;
pastDelay?: boolean;
retry?: () => void;
timedOut?: boolean;
}) => JSX.Element | null;
loader?: Loader | LoaderMap;
loadableGenerated?: LoadableGeneratedOptions;
ssr?: boolean;
};
export declare type LoadableOptions = LoadableBaseOptions ;
export declare type DynamicOptions = LoadableBaseOptions ;
export declare type LoadableFn = (opts: LoadableOptions ) => React.ComponentType ;
export declare type LoadableComponent = React.ComponentType ;
export declare function noSSR (LoadableInitializer: LoadableFn , loadableOptions: LoadableOptions ): React.ComponentType ;
export default function dynamic (dynamicOptions: DynamicOptions | Loader , options?: DynamicOptions ): React.ComponentType ;