import React from 'react';
import type { ScanResult, ScanError, ScanOptions, BarcodeFormat } from '../definitions';
export interface BarcodeScannerProps {
    /**
     * Callback when barcode is scanned
     */
    onScan: (result: ScanResult) => void;
    /**
     * Callback on error
     */
    onError?: (error: ScanError) => void;
    /**
     * Barcode formats to scan
     */
    formats?: BarcodeFormat[];
    /**
     * Show torch/flashlight button
     */
    showTorchButton?: boolean;
    /**
     * Show format selector
     */
    showFormatSelector?: boolean;
    /**
     * Enable multiple barcode scanning
     */
    multiple?: boolean;
    /**
     * Custom scan options
     */
    scanOptions?: Omit<ScanOptions, 'formats' | 'multiple'>;
    /**
     * Custom class name
     */
    className?: string;
    /**
     * Custom styles
     */
    style?: React.CSSProperties;
    /**
     * Show scanning overlay
     */
    showOverlay?: boolean;
    /**
     * Custom overlay component
     */
    overlayComponent?: React.ReactNode;
    /**
     * Show product info for scanned barcodes
     */
    showProductInfo?: boolean;
}
export declare const BarcodeScanner: React.FC<BarcodeScannerProps>;
export default BarcodeScanner;
