import React from 'react'; import { FormRowCustomProps } from '../FormRow'; import { InputProps } from '../Input'; import { LabelCustomProps } from '../Label'; export interface FileManagerRowSrcObject { uid: string; src: string; filename: string; fileEnding: string; path: string; } export interface FileManagerRowOnRemoveData { uid: string; path: string; index: number; } /** * * A component to manage uploading, downloading, and deleting files. This component contains a `Row`, `Label`, `FileInput` and some additional components. * * Note: This component is a bit complex and may shift in API over time. * */ export interface FileManagerRowProps extends FormRowCustomProps, LabelCustomProps, InputProps { labelForKey: string; fileSrcArray: Array; maxNumber?: number; filePattern?: RegExp; onRemove(data: FileManagerRowOnRemoveData): Promise; onUpload(files: FileList): Promise; } export declare const FileManagerRow: React.ForwardRefExoticComponent>;