import type { FileUploadBaseProps } from "../FileUpload.types.js";
export interface UseFileUploadProps extends Omit<FileUploadBaseProps, "fileLimit"> {
    ref: React.ForwardedRef<HTMLInputElement>;
    disabled?: boolean;
}
export declare const useFileUpload: ({ ref, accept, onSelect, validator, maxSizeInBytes, disabled, }: UseFileUploadProps) => {
    upload: (fileList: FileList) => void;
    onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
    inputRef: import("react").RefObject<HTMLInputElement | null>;
    mergedRef: ((instance: HTMLInputElement | null) => void) | null;
};
