import { type ChangeEvent } from 'react'; import type { FileId, FileUploaderProps, UploadFile } from '../../types'; export type UseFileUploaderParams = FileUploaderProps; export declare const useFileUploader: ({ value, isDisabled, isMultiple, accept, restrictions, maxFileSize, maxFileCount, inputRef, notify, onChange, onUploadFile, name, isError, onView, generateDownloadLink, placeholder, helperText, label, className, getErrorMessage, }: UseFileUploaderParams) => { dropZoneProps: { isLimitMaxFileCount: boolean; maxFileCount: number; isVisibleAddFile: boolean; isVisibleFileList: boolean; hintPlaceholderProps: { isMultiple: boolean | undefined; accept: string[]; maxFileCount: number; maxFileSize: number; placeholder: string | undefined; }; fileInputProps: { id: string | undefined; accept: string; ref: import("react").RefObject | undefined; value: string; onChange: (event: ChangeEvent) => void; name: string | undefined; isMultiple: boolean | undefined; isDisabled: boolean | undefined; }; uploadButtonProps: { isDisabled: boolean | undefined; htmlFor: string | undefined; }; containerProps: { className: string | undefined; label: string | undefined; isError: boolean | undefined; helperText: import("react").ReactNode; }; onDragLeave: (event: import("react").DragEvent) => void; onDragOver: (event: import("react").DragEvent) => void; onDrop: (event: import("react").DragEvent) => void; isActive: boolean; htmlFor: string | undefined; isDisabled: boolean | undefined; isError: boolean | undefined; className: string; }; fileListProps: { onDelete: (fileId: FileId) => void; onRetry: ((fileId: FileId, file: File) => void) | undefined; onView: ((fileId: string, file?: File | undefined, fileUrl?: string | undefined) => void) | undefined; generateDownloadLink: ((fileId: string, file?: File | undefined, fileUrl?: string | undefined) => string) | undefined; isMultiple: boolean | undefined; files: UploadFile[]; selfFiles: Record; setErrorStatusFile: (fileId: string, errorMsg: string) => void; getErrorMessage: ((fileId: string, error: Error) => string) | undefined; }; };