/// <reference types="react" />
export type TPreView = string | ArrayBuffer | null;
export interface ICFileBoxProps extends React.HTMLAttributes<HTMLDivElement> {
    loading?: boolean;
    tooltip?: string;
    w?: number;
    h?: number;
    useFile: [File | undefined, React.Dispatch<React.SetStateAction<File | undefined>>];
    setPreview?: React.Dispatch<React.SetStateAction<string | undefined>>;
    helperText?: string | string[] | JSX.Element;
    title?: string;
    accept: string;
}
export declare function CFileBox(props: ICFileBoxProps): import("react/jsx-runtime").JSX.Element;
