import { D as DecodedMatrix, P as Point } from './scanner-Cr2OWyoR.js'; export { C as CameraCapabilities, d as CameraDevice, e as CameraError, f as CameraErrorCode, g as CameraOptions, h as DecodeError, i as DecodeErrorCode, j as DecodeImageOptions, k as DetectImageOptions, l as Detection, E as ErrorCorrectionLevel, F as Fnc1, m as FrameSource, I as ImageDataLike, n as ParseContentHints, o as ParsedContent, a as QrResult, b as QrScanner, Q as QrScannerOptions, p as QrScannerUpdate, R as Region, S as ScannerError, q as ScannerEventMap, r as Segment, s as StructuredAppend, t as decode, u as decodeAll, v as detect, w as listCameras, x as parseContent } from './scanner-Cr2OWyoR.js'; /** * Square matrix of modules. `get(x, y)` addresses column x, row y; truthy * means a dark module. */ declare class BitMatrix { readonly size: number; private readonly bits; constructor(size: number, bits?: Uint8Array); get(x: number, y: number): boolean; set(x: number, y: number, value: boolean): void; /** Marks a width×height region starting at (left, top). */ setRegion(left: number, top: number, width: number, height: number): void; clone(): BitMatrix; } /** * Decodes a sampled QR bit matrix (true = dark module) into its payload. * This is the pure logical half of the scanner: detection/sampling from an * image happens upstream and produces the BitMatrix consumed here. */ declare function decodeMatrix(matrix: BitMatrix): DecodedMatrix; /** * Maps points from video pixel coordinates (as reported in QrResult and * Detection corner points) to CSS pixel coordinates relative to the video * element's top-left corner, accounting for object-fit scaling, letterboxing, * and cropping. Assumes the default centered object-position. Use this to * place an overlay element laid out on top of the video; a canvas sized to * videoWidth×videoHeight and CSS-stretched with the same object-fit does not * need it. */ declare function videoToElementCoordinates(points: readonly Point[], video: HTMLVideoElement): Point[]; export { BitMatrix, DecodedMatrix, Point, decodeMatrix, videoToElementCoordinates };