export type BarcodeType = 'QR_CODE' | 'AZTEC' | 'CODE_128' | 'CODE_39' | 'CODE_93' | 'CODABAR' | 'DATA_MATRIX' | 'EAN_13' | 'EAN_8' | 'ITF' | 'PDF417' | 'UPC_A' | 'UPC_E' | 'UNKNOWN'; export interface BarcodeResult { data: string; type: BarcodeType; bounds?: { width: number; height: number; origin: { topLeft: { x: number; y: number; }; bottomLeft: { x: number; y: number; }; bottomRight: { x: number; y: number; }; topRight: { x: number; y: number; }; }; }; } export type BarcodeScannerCallback = (results: BarcodeResult[]) => void; export declare class BarcodeScanner { private static listener; private static readonly ALLOWED_SCHEMES; static startScanning(callback: BarcodeScannerCallback): Promise; static stopScanning(): Promise; static enableFlashlight(): Promise; static disableFlashlight(): Promise; static releaseCamera(): Promise; static hasCameraPermission(): Promise; static requestCameraPermission(): Promise; static scanImage(imageUri: string): Promise; } export { CameraView } from './CameraView'; export type { CameraViewProps } from './CameraView'; export default BarcodeScanner; //# sourceMappingURL=index.d.ts.map