import type { FormatCodec } from "../format-codec.js"; /** * Options for the JSON codec. */ export interface JsonCodecOptions { readonly indent?: number; } /** * Creates a JSON codec with configurable indentation. * * @param options - Optional configuration for JSON serialization * @param options.indent - Number of spaces for indentation (default: 2) * @returns A FormatCodec for JSON serialization * * @example * ```typescript * const codec = jsonCodec({ indent: 4 }) * const layer = makeSerializerLayer([codec]) * ``` */ export declare const jsonCodec: (options?: JsonCodecOptions) => FormatCodec; //# sourceMappingURL=json.d.ts.map