/** * QR Code encoder (byte mode, ECC level M, versions 1–40). No external deps. * Follows ISO/IEC 18004: block interleaving, version info, format info and * mask selection by penalty score, so the output is scannable by any reader. */ type Matrix = boolean[][]; /** Returns a square boolean matrix (true = dark module). */ export declare function encodeQR(text: string): Matrix; export declare function qrToSvgPath(matrix: Matrix, cell?: number): string; /** * Clears a centered square so a logo can sit in empty modules * instead of covering data. `ratio` is hole size relative to matrix (0–1). * Returns a shallow-cloned matrix. */ export declare function punchLogoHole(matrix: Matrix, ratio?: number): Matrix; export {};