import { type FunctionComponent } from 'react'; import { type ScanOptions } from '../hooks'; import { type DetectedBarcode } from '../types'; interface ScannerProps extends React.DetailedHTMLProps, HTMLVideoElement> { options?: ScanOptions; onCapture?: (barcodes: DetectedBarcode[]) => void; trackConstraints?: MediaTrackConstraints; paused?: boolean; } declare const BarcodeScanner: FunctionComponent; export default BarcodeScanner;