/**
 * Copyright Aquera Inc 2023
 *
 * This source code is licensed under the BSD-3-Clause license found in the
 * LICENSE file in the root directory of this source tree.
 */
export type ErrorCorrectionLevel = 'L' | 'M' | 'Q' | 'H';
/**
 * Generate a QR code matrix from a string.
 *
 * @param text  The text to encode.
 * @param ecl   Error-correction level (L, M, Q, H).
 * @returns     A 2-D boolean-like matrix where `1` = dark module.
 */
export declare function generateQR(text: string, ecl?: ErrorCorrectionLevel): number[][];
