import { type QrCode } from './encode.js';
export interface SvgOptions {
    /** Quiet zone in modules on every side. Default 4, the standard's minimum. */
    margin?: number;
    /** Colour of dark modules. Default `'#000'`. */
    dark?: string;
    /** Background colour, or `null` for none. Default `'#fff'`. */
    light?: string | null;
    /** Accessible name, written as the SVG `<title>`. An empty string adds none. */
    title?: string;
}
/**
 * Renders a code as a standalone SVG document, one module per user unit and
 * one path for all dark modules. Size it with CSS or `width`/`height`; the
 * viewBox keeps it square.
 */
export declare function toSvg(qr: QrCode, options?: SvgOptions): string;
