import { UploadCardOnChangeValue, useFileStateOptions } from './interface'; export declare function useFileState({ accept, maxSize, singleFile, onChange, onMaxSizeExceed, onUnsupportedFile, }: useFileStateOptions): { files: UploadCardOnChangeValue; setInitialFiles: (fileInput: File | File[]) => Promise; hasIntialFiles: boolean; removeFile: (fileId: string) => void; removeAll: () => void; addFiles: (fileInput: File | File[]) => Promise; updateFileProgress: (id: string, progress: number, success?: boolean, response?: any) => void; };