import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const qrcodeTerminal = require("qrcode-terminal");
export function renderTerminalQr(input) {
    let output = "";
    qrcodeTerminal.generate(input, { small: true }, (qr) => {
        output = qr;
    });
    return output.trimEnd();
}
//# sourceMappingURL=terminal-qr.js.map