/** * Digital-zoom scan regions for distant / small barcodes. * Used by the pure-JS @zxing multi-pass decoder. */ export interface ScanPass { readonly sx: number; readonly sy: number; readonly sw: number; readonly sh: number; /** Upscale factor when drawing the crop into the decode canvas. */ readonly scale: number; } /** * Full frame + center zooms + mid-band (1D) + four corner crops + optional tight center. * Covers off-center / distant codes that are not in the viewfinder center. * * CPU bound: at most 10 passes (1 full + 3 center + 1 mid-band + 4 corners + 1 tight center). * Do not add more regions without raising this documented ceiling (~10–12 max). */ /** Full-frame only — cheap first pass (~1 crop per tick; G9 CPU bound). */ export declare function buildQuickScanPass(videoWidth: number, videoHeight: number): ScanPass[]; export declare function buildMaxSensitivityScanPasses(videoWidth: number, videoHeight: number): ScanPass[]; //# sourceMappingURL=scannerScanPasses.d.ts.map