/** * A SerializerRegistry Layer that supports all 8 text formats: * - JSON (.json) * - JSONL (.jsonl, .ndjson) * - YAML (.yaml, .yml) * - JSON5 (.json5) * - JSONC (.jsonc) * - TOML (.toml) * - TOON (.toon) * - Hjson (.hjson) * * Use this when you need maximum format flexibility. * * @example * ```typescript * import { AllTextFormatsLayer } from "./presets.js" * * const program = Effect.gen(function* () { * const registry = yield* SerializerRegistry * yield* registry.serialize(data, "yaml") * }) * * Effect.runPromise(program.pipe(Effect.provide(AllTextFormatsLayer))) * ``` */ export declare const AllTextFormatsLayer: import("effect/Layer").Layer; /** * A SerializerRegistry Layer that supports the default formats: * - JSON (.json) * - YAML (.yaml, .yml) * * Use this for standard configuration files and data storage. * This is the recommended default for most use cases. * * @example * ```typescript * import { DefaultSerializerLayer } from "./presets.js" * * const program = Effect.gen(function* () { * const registry = yield* SerializerRegistry * yield* registry.serialize(data, "json") * }) * * Effect.runPromise(program.pipe(Effect.provide(DefaultSerializerLayer))) * ``` */ export declare const DefaultSerializerLayer: import("effect/Layer").Layer; //# sourceMappingURL=presets.d.ts.map