import React from 'react'; type ComponentModule

= { default: React.ComponentType

; }; export declare type LoaderComponent

= Promise | ComponentModule

>; export declare type Loader

= (() => LoaderComponent

) | LoaderComponent

; export type LoaderMap = { [module: string]: () => Loader; }; export type LoadableGeneratedOptions = { webpack?(): any; modules?(): LoaderMap; }; export type DynamicOptionsLoadingProps = { error?: Error | null; isLoading?: boolean; pastDelay?: boolean; retry?: () => void; timedOut?: boolean; }; export type DynamicOptions

= 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 {};