import type { PreviewStatus } from './types.js';
interface UseFileUploadProps {
    value?: File | null;
    defaultValue?: File | null;
    onChange?: (file: File | null) => void;
}
export declare const useFileUpload: ({ value, defaultValue, onChange }: UseFileUploadProps) => {
    handleDrop: (acceptedFiles?: File[]) => 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