//#region src/renderers/svg.d.ts /** * SVG 渲染器 * * 将 boolean[][] 矩阵转为 SVG 字符串。 * 零运行时依赖,可在任意 JS 环境使用(浏览器、Node.js、小程序等)。 */ interface SVGOptions { /** 每个模块的像素大小,默认 10 */ moduleSize?: number; /** 静默区模块数,默认 4 */ quietZone?: number; /** 前景色,默认 '#000000' */ foreground?: string; /** 背景色,默认 '#ffffff' */ background?: string; /** 是否透明背景(忽略 background),默认 false */ transparent?: boolean; } /** 将 QR 码矩阵转为 SVG 字符串 */ declare function toSVG(modules: boolean[][], options?: SVGOptions): string; //#endregion export { toSVG as n, SVGOptions as t }; //# sourceMappingURL=svg-DCj7QRJI.d.mts.map