import { ComponentType } from 'react';
export declare const ProgressBar: import('@emotion/styled').StyledComponent<{
    theme?: import('@emotion/react').Theme;
    as?: React.ElementType;
} & {
    duration: number;
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
export interface WithProgressBarProps {
    duration: number;
    shouldShowProgressBar: boolean;
}
export declare function estimatedUploadTime(fileSizeInBytes: number): number;
export declare function withProgressBar<P extends object>(Component: ComponentType<P>): React.FC<P & WithProgressBarProps>;
