import * as React from 'react'; import { IconName } from '../Icon'; import { ProgressStatus } from './FileUploaderDetails.types.part'; import { UploaderProgressBarLabels, ComponentLabel } from '../../utils/labels'; export interface StatusBarProps { status: ProgressStatus; iconName: IconName; count: number; title: string; itemPluralLabel?: ComponentLabel; itemSingularLabel?: ComponentLabel; } declare function StatusBar({ status, count, iconName, title, ...props }: StatusBarProps): JSX.Element; export interface UploaderProgressBarProps extends UploaderProgressBarLabels { /** * The total progress from 0 to 100. */ progressValue: number; /** * Determines if scanning is currently in progress. */ scanning: boolean; /** * Event emitted when the status should be closed fully. */ onClose(): void; /** * Event emitted when details should be shown. */ onShow(): void; /** * Total number of files that are being uploaded. */ total: number; /** * Number of files that are currently in progress. */ inProgress: number; /** * Number of files that have failed. */ errors: number; } export declare const UploaderProgressBar: React.SFC & { inner: { readonly ProgressBarWrapper: any; readonly BarInfo: any; readonly StatusBarGroup: any; readonly StatusBar: typeof StatusBar; readonly ActionGroup: any; readonly ActionLink: React.SFC & { inner: { readonly StyledActionLink: any; }; }; readonly ActionIconContainer: React.ComponentType; readonly Icon: React.FC & { inner: { readonly StyledIcon: any; }; }; readonly StyledProgressBar: any; }; }; export {};