/** * Palette service for color palette generation with pattern-based transformations. */ import { Effect, Layer } from "effect"; import type { ParseError } from "effect/ParseResult"; import { ConfigService } from "../ConfigService.js"; import { PatternService } from "../PatternService/index.js"; import { type BatchRequest, type BatchResult, type PaletteRequest, PaletteResult } from "./palette.schema.js"; declare const PaletteGenerationError_base: new = {}>(args: import("effect/Types").Equals extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & { readonly _tag: "PaletteGenerationError"; } & Readonly; /** Wraps underlying errors from color parsing, pattern loading, or palette generation. */ export declare class PaletteGenerationError extends PaletteGenerationError_base<{ readonly message: string; readonly cause?: unknown; }> { } declare const PaletteService_base: Effect.Service.Class Effect.Effect; generateBatch: (input: BatchRequest) => Effect.Effect; }, never, ConfigService | PatternService>; readonly dependencies: readonly [Layer.Layer, Layer.Layer]; }>; /** Provides palette generation with dependency injection for PatternService and ConfigService. */ export declare class PaletteService extends PaletteService_base { /** Test layer using ConfigService.Test and PatternService.Test for predictable behavior. */ static readonly Test: Layer.Layer; } export {}; //# sourceMappingURL=PaletteService.d.ts.map