import React from 'react'; type ComponentModule
= { default: React.ComponentType
; }; export declare type LoaderComponent
= Promise >;
export declare type Loader = (() => LoaderComponent ) | LoaderComponent ;
export type LoaderMap = {
[module: string]: () => Loader = LoadableGeneratedOptions & {
loading?: (loadingProps: DynamicOptionsLoadingProps) => JSX.Element | null;
loader?: Loader | LoaderMap;
loadableGenerated?: LoadableGeneratedOptions;
ssr?: boolean;
/**
* @deprecated `suspense` prop is not required anymore
*/
suspense?: boolean;
};
export type LoadableOptions = DynamicOptions ;
export type LoadableFn = (opts: LoadableOptions ) => React.ComponentType ;
export type LoadableComponent = React.ComponentType ;
export declare function noSSR (LoadableInitializer: LoadableFn , loadableOptions: DynamicOptions ): React.ComponentType ;
export default function dynamic (dynamicOptions: DynamicOptions | Loader , options?: DynamicOptions ): React.ComponentType ;
export {};