import { ReactNode } from 'react';
export type FilesLoaderProps = {
    name: string;
    indeterminate?: boolean;
    complete?: boolean;
    /**
     * Total progress value (bytes by default)
     */
    total?: number;
    /**
     * Current progress value (bytes by default)
     */
    current?: number;
    /**
     * Error to show
     */
    error?: ReactNode;
    /**
     * If exists - displays the "Delete" button
     */
    onDelete?: () => void;
    /**
     * If exists - displays the "Reload" button on error state
     */
    onReload?: () => void;
    /**
     * If exists - displays the "Cancel" button when loading
     */
    onCancel?: () => void;
    /**
     * Allows custom progress units
     *
     * @default formatSizeProgress
     * @param total total progress value
     * @param current current progress value
     */
    formatProgress?: (total?: number, current?: number) => ReactNode;
    className?: string;
    testId?: string;
};
export declare const FilesLoader: ({ formatProgress: propsFormatProgress, className, name, current, total, error, onCancel, onReload, onDelete, indeterminate, complete, testId, }: FilesLoaderProps) => JSX.Element;
//# sourceMappingURL=FilesLoader.d.ts.map