import React from 'react';
import { BrowserMultiFormatReader } from '@zxing/library';
import './index.less';
export interface PisellScanProps extends Omit<React.HTMLAttributes<HTMLVideoElement>, 'onChange'> {
    /** 当前scan展示宽度 */
    width: string | number;
    /** 当前scan展示高度 */
    height?: string | number;
    /** 当前scan圆角 */
    borderRadius?: string | number;
    /** 扫描完成回调 */
    onChange?: (val: string) => void;
    /** 扫描间隔时间 毫秒 */
    timeBetweenScansMillis?: number;
}
export declare type PisellScanRef = {
    codeReader: BrowserMultiFormatReader | null;
};
/**
 * 二维码条形码扫描组件
 */
declare const PisellScan: React.ForwardRefExoticComponent<PisellScanProps & React.RefAttributes<PisellScanRef>>;
export default PisellScan;
