import * as React from 'react';
import './index.less';
import ScanCardImage from './ScanCardImage';
import ScanCardIcon from './ScanCardIcon';
export interface BizUploadProps extends Pick<React.InputHTMLAttributes<HTMLInputElement>, 'accept' | 'multiple' | 'capture' | 'id' | 'name'>, Pick<React.HTMLAttributes<HTMLDivElement>, 'children'> {
    /**
     * @description 外层容器类名。
     */
    className?: string;
    /**
     * @description 外层容器样式。
     */
    style?: React.CSSProperties;
    /**
     * @description 块级展示。
     */
    block?: boolean;
    /**
     * @description 选择文件触发。
     * @param files 已选择文件列表。
     * @returns
     */
    onChange?: (files: FileList | null) => void;
}
declare const BizUpload: React.ForwardRefExoticComponent<BizUploadProps & React.RefAttributes<HTMLInputElement>> & {
    ScanCardImage: typeof ScanCardImage;
    ScanCardIcon: typeof ScanCardIcon;
};
/**
 * @deprecated 即将废弃，请使用 `BizUpload` 替代。
 */
export declare const Upload: React.ForwardRefExoticComponent<BizUploadProps & React.RefAttributes<HTMLInputElement>> & {
    ScanCardImage: typeof ScanCardImage;
    ScanCardIcon: typeof ScanCardIcon;
};
/**
 * @deprecated 即将废弃，请使用 `BizUploadProps` 替代。
 */
export type UploadProps = BizUploadProps;
export default BizUpload;
