import type { StringFormat } from "@thi.ng/text-format";
import type { Canvas } from "./canvas.js";
/**
 * Returns string representation of canvas, optionally using given string
 * formatter. If none is given, returns plain string representation, ignoring
 * any character format data.
 *
 * @param canvas -
 * @param fmt -
 */
export declare const formatCanvas: (canvas: Canvas, fmt?: StringFormat) => string;
//# sourceMappingURL=format.d.ts.map