import { FileModel, FileUploadApi } from './types';
interface UseUpdateFileOptions {
    onFailure: (errorMessage: string) => void;
}
export declare const useSendFiles: ({ onFailure }: UseUpdateFileOptions) => {
    isSendingFile: boolean;
    sendFiles: (api: FileUploadApi, uploadedFiles: File[], currentFiles: FileModel[]) => Promise<void>;
};
export declare const useDeleteFile: ({ onFailure }: UseUpdateFileOptions) => {
    isDeletingFile: boolean;
    deleteFile: (api: FileUploadApi, index: number, currentFiles: FileModel[]) => Promise<void>;
};
export {};
