export interface UploadedFile {
    key: string;
    appUrl: string;
    name: string;
    size: number;
    type: string;
    url: string;
}
interface UseUploadFileProps {
    defaultUploadedFiles?: UploadedFile[];
    onUploadComplete?: (file: UploadedFile) => void;
    onUploadError?: (error: unknown) => void;
}
export declare function useUploadFile({ onUploadComplete, onUploadError }?: UseUploadFileProps): {
    isUploading: boolean;
    progress: number;
    uploadedFile: UploadedFile | undefined;
    uploadFile: (file: File) => Promise<UploadedFile | undefined>;
    uploadingFile: File | undefined;
};
export {};
