import type { FormatCodec } from "../format-codec.js"; /** * Creates a TOON (Token-Oriented Object Notation) codec. * * TOON is a compact, human-readable encoding of JSON designed for LLM prompts. * It provides lossless round-trip conversion with significant token reduction * for uniform arrays of objects. * * @returns A FormatCodec for TOON serialization * * @example * ```typescript * const codec = toonCodec() * const layer = makeSerializerLayer([codec]) * ``` * * @see https://toonformat.dev for format specification */ export declare const toonCodec: () => FormatCodec; //# sourceMappingURL=toon.d.ts.map