import type { QrCodeMessage } from './encode'; import type { ECLevel } from './index'; /** The internal structure of a QR code */ export interface QrCodeData { /** The version of the QR code (1...40) */ readonly version: number; /** The error correction level for the QR code */ readonly ecLevel: ECLevel; /** The data blocks of the QR code */ readonly blockData: number[][]; /** The ECC blocks of the QR code */ readonly ecData: number[][]; } /** * Create the QR code structure for the given text or binary data. * * @param data The {@link QrCodeMessage} structure containing the message * @param ecLevel The error correction level for the QR code */ export declare function generateQrCodeData(data: QrCodeMessage, ecLevel: ECLevel): QrCodeData;