import type { RGB } from './types.js'; import type { AsciiFrame } from './frame.js'; export interface SvgExportOptions { /** Height of one cell in SVG user units. Default 16; width follows the profile's cell aspect. */ cellHeight?: number; /** CSS font-family. Default the profile's family, falling back to monospace. */ fontFamily?: string; /** mono only: glyph colour. Default white. */ foreground?: RGB; /** * The ground behind the grid. Default black for mono, none for foreground. `null` leaves the SVG * transparent. full has its own per-cell background and ignores this. */ background?: RGB | null; } export declare function frameToText(frame: AsciiFrame): string; export declare function frameToAnsi(frame: AsciiFrame): string; export declare function frameToHTML(frame: AsciiFrame): string; /** * The frame as a standalone SVG: vector glyphs that stay sharp at any size and paste into a * design tool as editable text. Every glyph gets an explicit x, so columns stay on the grid even * when the viewer substitutes a font with different advances. `glyph` frames carry their colour * in the glyph art rather than in the frame, so they export as plain text in the foreground colour. */ export declare function frameToSVG(frame: AsciiFrame, options?: SvgExportOptions): string;