import { ReactNode } from 'react'; export type FilesLoaderV2Props = { name: string; /** * Total progress value (bytes by default) * * If undefined or < 0 - makes progress bar indeterminate */ total?: number; /** * Current progress value (bytes by default) * * If undefined or < 0 - makes progress bar indeterminate */ current?: number; /** * Error to show */ errorText?: string; /** * 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 * @param total total progress value * @param current current progress value */ formatProgress?: (total?: number, current?: number) => ReactNode; className?: string; }; export declare const FilesLoaderV2: (props: FilesLoaderV2Props) => JSX.Element; //# sourceMappingURL=FilesLoaderV2.d.ts.map