import React, { ReactElement, ReactNode } from 'react'; declare type Props = { text?: string | React.ReactNode; inStage?: boolean; showTextAfter?: number; childComponents?: ReactNode; errorText?: string; loading?: boolean; }; declare function LoadingScreen(props: Props): ReactElement; declare namespace LoadingScreen { var defaultProps: { text: string; inStage: boolean; showTextAfter: number; loading: boolean; childComponents: any; errorText: any; }; } export default LoadingScreen;