import type { FormatCodec } from "../format-codec.js"; /** * Options for the YAML codec. */ export interface YamlCodecOptions { readonly indent?: number; readonly lineWidth?: number; } /** * Creates a YAML codec with configurable indentation and line width. * * @param options - Optional configuration for YAML serialization * @param options.indent - Number of spaces for indentation (default: 2) * @param options.lineWidth - Maximum line width before wrapping (default: 80) * @returns A FormatCodec for YAML serialization * * @example * ```typescript * const codec = yamlCodec({ indent: 4, lineWidth: 120 }) * const layer = makeSerializerLayer([codec]) * ``` */ export declare const yamlCodec: (options?: YamlCodecOptions) => FormatCodec; //# sourceMappingURL=yaml.d.ts.map