import { RcFile } from 'antd/es/upload';
import { ReactElement } from 'react';

export type FileSelectProps = {
	buttonName?: string | ReactElement;
	children?: React.ReactNode;
	/** 上传按钮与文件排版 默认：horizontal */
	direction?: "horizontal" | "hertical";
	/** 可选择文件格式，默认：.xlsx,.xls */
	accept?: string;
	onChange?: (file?: RcFile) => void;
	className?: string;
};
/**
 * 文件选择，内部不调用服务上传
 * ```
 * 默认选择文件格式：.xlsx,.xls
 * ```
 */
export declare const FileSelect: (props: FileSelectProps) => import("react").JSX.Element;

export {};
