/** * The parameters carry the initial value of the file input, the callback to handle changes, the * accepted media type, and the error messages. Returns the props for the file input component. */ export declare function useFileProps(params: { value: string | File | null | undefined; onChange: (value: File | undefined) => void; accept: string; errors: string; }): { value: File | null; onChange: (value: File | null) => void; accept: string | undefined; error: import("react/jsx-runtime").JSX.Element[] | undefined; clearable: boolean; };