import { FileType, ProgressBarFile } from './file-uploader-types';
export declare const findByName: (filesArray: Array<FileType | ProgressBarFile>, fileName: string) => ProgressBarFile | FileType | undefined;
type FileUploaderHookProps = {
    initialFiles: Array<FileType>;
    isMultiple?: boolean;
    setErrorMessage: (errorMessage: string) => void;
};
export declare const useFileUploader: ({ initialFiles, isMultiple, setErrorMessage, }: FileUploaderHookProps) => {
    addedFileStructure: any[];
    collectedFileStructure: FileType[];
    generateFileStructure: (dataTransfer: any) => Promise<any>;
    removeFileFromStructure: (name: string) => void;
    updateFileStructure: (name: string, payload: any) => void;
};
export {};
