import type { PreviewStatus } from './types.js';
interface UseFileUploadProps {
    value?: File | null;
    defaultValue?: File | null;
    onChange?: (file: File | null | string) => void;
    submitAsBase64?: boolean;
}
export declare const useFileUpload: ({ value, defaultValue, onChange, submitAsBase64 }: UseFileUploadProps) => {
    handleDrop: (acceptedFiles?: File[]) => Promise<void>;
    file: File | null;
    borderIndicator: string;
    preview: string | undefined;
    handleCancelPreview: () => void;
    handleOnPreview: () => void;
    isPreviewOpen: boolean;
    previewStatus: PreviewStatus;
    typePreview: "audio" | "video" | "image" | "pdf" | undefined;
};
export {};
//# sourceMappingURL=useUploadFile.d.ts.map