import Component from '../AbstractComponent';
import Props from './Props';
export declare const Type: any;
/**
 * 条形码组件
 * @author 田尘殇Sean(sean.snow@live.com)
 * @date 16/7/19
 */
declare class Barcode extends Component<Props> {
    static propTypes: any;
    static defaultProps: {
        barCodeTypes: any[];
        windowSize: {
            width: number;
            height: number;
        };
    };
    state: any;
    constructor(props: any);
    /**
     * 扫描图片
     * options.path = 图片路径
     * @param options
     */
    static scanImage(options: any): any;
    componentWillMount(): void;
    componentWillUnmount(): void;
    stopCapture(): void;
    handleSuccess(data: any): void;
    renderTop(renderTop: any): JSX.Element;
    render(): JSX.Element;
}
export default Barcode;
