/** Fixed black/white rather than the terminal theme's ANSI palette. */ export declare const QR_DARK = "\u001B[48;5;16m"; export declare const QR_LIGHT = "\u001B[48;5;231m"; export declare const QR_LIGHT_FG = "\u001B[38;5;231m"; export declare const QR_QUIET_ZONE = 4; interface TerminalQRViewport { columns?: number | undefined; rows?: number | undefined; } interface TerminalQROptions extends TerminalQRViewport { terminalProgram?: string | undefined; } export declare class TerminalQRSizeError extends Error { constructor(); } /** Dark modules, surrounded by the four-module quiet zone required by QR. */ export declare function terminalQRGrid(value: string): boolean[][]; /** Watch owns its viewport checks so a cached QR can appear after a resize. */ export declare function renderTerminalQR(value: string, options?: TerminalQROptions): string; /** One-shot output must fit without wrapping; leave room for its link/cursor. */ export declare function renderTerminalQRForOutput(value: string, output?: TerminalQRViewport): string; export {}; //# sourceMappingURL=qr-terminal.d.ts.map