1 | import { Chunks } from "./decoder/decodeData";
|
2 | import { Point } from "./locator";
|
3 | export interface QRCode {
|
4 | binaryData: number[];
|
5 | data: string;
|
6 | chunks: Chunks;
|
7 | version: number;
|
8 | location: {
|
9 | topRightCorner: Point;
|
10 | topLeftCorner: Point;
|
11 | bottomRightCorner: Point;
|
12 | bottomLeftCorner: Point;
|
13 | topRightFinderPattern: Point;
|
14 | topLeftFinderPattern: Point;
|
15 | bottomLeftFinderPattern: Point;
|
16 | bottomRightAlignmentPattern?: Point;
|
17 | };
|
18 | }
|
19 | export interface Options {
|
20 | inversionAttempts?: "dontInvert" | "onlyInvert" | "attemptBoth" | "invertFirst";
|
21 | }
|
22 | declare function jsQR(data: Uint8ClampedArray, width: number, height: number, providedOptions?: Options): QRCode | null;
|
23 | export default jsQR;
|