import { default as React } from 'react';
export default function LoadAsyncComponent<T extends React.ComponentType<any>>(importComponent: () => Promise<Record<string, T>>, key?: string, showProgress?: boolean): {
    new (props: React.ComponentProps<T>): {
        componentDidMount(): void;
        render(): string | import("react/jsx-runtime").JSX.Element | null;
        context: unknown;
        setState<K extends keyof {
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>(state: {
            Component: React.ComponentType<any> | null;
            error: string | null;
        } | ((prevState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>, props: Readonly<React.ComponentProps<T>>) => {
            Component: React.ComponentType<any> | null;
            error: string | null;
        } | Pick<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }, K> | null) | Pick<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callback?: (() => void) | undefined): void;
        readonly props: Readonly<React.ComponentProps<T>>;
        state: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>;
        shouldComponentUpdate?(nextProps: Readonly<React.ComponentProps<T>>, nextState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<React.ComponentProps<T>>, prevState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>): any;
        componentDidUpdate?(prevProps: Readonly<React.ComponentProps<T>>, prevState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<React.ComponentProps<T>>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<React.ComponentProps<T>>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<React.ComponentProps<T>>, nextState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<React.ComponentProps<T>>, nextState: Readonly<{
            Component: React.ComponentType<any> | null;
            error: string | null;
        }>, nextContext: any): void;
    };
    contextType?: React.Context<any> | undefined;
    propTypes?: any;
};
