export declare type ComponentLabel = string | { (input: any): string; }; export interface UploadProgressDetailsLabels extends StatusTableLabels { /** * Optionally sets the label for the cancel all button. */ cancelAllLabel?: ComponentLabel; /** * Optionally sets the labe for the title of the progress details modal. */ uploadModalTitleLabel?: ComponentLabel; } export interface UploaderProgressBarLabels { /** * Optionally sets the label for showing multiple files in progress. */ itemPluralLabel?: ComponentLabel; /** * Optionally sets the label for showing a single files in progress. */ itemSingularLabel?: ComponentLabel; /** * Optionally sets the label for scanning. */ uploadScanningLabel?: ComponentLabel; /** * Optionally sets the label for standard progress. */ uploadProgressLabel?: ComponentLabel; /** * Optionally sets the label for a successful upload. */ uploadSuccessLabel?: ComponentLabel; /** * Optionally sets the label for an upload error. */ uploadErrorLabel?: ComponentLabel; /** * Optionally sets the label for the view details button. */ viewDetailsLabel?: ComponentLabel; } export interface StatusTableLabels { /** * Optionally sets the label for the file column. */ tableHeaderFileLabel?: ComponentLabel; /** * Optionally sets the label for the status column. */ tableHeaderStatusLabel?: ComponentLabel; /** * Optionally sets the status for canceled in the table. */ canceledTableUploadLabel?: ComponentLabel; /** * Optionally sets the status for scanning in the table. */ scanningTableUploadLabel?: ComponentLabel; /** * Optionally sets the status for progress in the table. */ progressTableUploadLabel?: ComponentLabel; /** * Optionally sets the status for success in the table. */ successTableUploadLabel?: ComponentLabel; /** * Optionally sets the status for error in the table. */ errorTableUploadLabel?: ComponentLabel; } export interface PaginationBarLabels { /** * The items per page label. * @default 'Items per page:' */ itemsPerPageLabel?: ComponentLabel; } export interface AccordionCardLabels { /** * The label for opening details. */ openLabel?: ComponentLabel; /** * The label for closing details. */ closeLabel?: ComponentLabel; } export declare type LabelOverwrite = UploadProgressDetailsLabels & UploaderProgressBarLabels & PaginationBarLabels & AccordionCardLabels; export declare function setLabels(labels: LabelOverwrite): void; export declare function getLabel(key: string, args?: any): string; export declare function getPropLabel(props: TProps, name: TKey & string, value?: any): string;