import type { FormatCodec } from "../format-codec.js"; /** * Creates a TOML codec. * * TOML has no null type, so null values are recursively stripped on encode. * Missing keys naturally become undefined on decode. * * @returns A FormatCodec for TOML serialization * * @example * ```typescript * const codec = tomlCodec() * const layer = makeSerializerLayer([codec]) * ``` * * @remarks * - Null/undefined values are stripped on encode (TOML has no null) * - TOML dates are returned as Date objects by smol-toml * - TOML arrays must be homogeneous; mixed-type arrays will throw on encode * - Schemas with required nullable fields (NullOr) won't round-trip through TOML */ export declare const tomlCodec: () => FormatCodec; //# sourceMappingURL=toml.d.ts.map