/** * Schemas for color transformation syntax * * Defines schemas for parsing and validating transformation syntax like: * - ref>target::stop * - ref>(t1,t2)::stop */ import { Schema } from "effect"; /** * Single transformation request with stop: reference>target::stop * * Example: "2D72D2>238551::500" */ export declare const TransformationRequestSchema: Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>; export declare const TransformationRequest: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; }, import("effect/ParseResult").ParseError, never>; export type TransformationRequest = typeof TransformationRequestSchema.Type; /** * Partial transformation request with optional stop: reference>target[::stop] */ export declare const PartialTransformationRequestSchema: Schema.SchemaClass<{ readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; }, { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; }, never>; export declare const PartialTransformationRequest: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; }, import("effect/ParseResult").ParseError, never>; export type PartialTransformationRequest = typeof PartialTransformationRequestSchema.Type; /** * One-to-many transformation: reference>(t1,t2,t3)::stop * * Example: "2D72D2>(238551,DC143C,FF6B6B)::500" */ export declare const TransformationBatchSchema: Schema.extend; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>>; export declare const TransformationBatch: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }, import("effect/ParseResult").ParseError, never>; export type TransformationBatch = typeof TransformationBatchSchema.Type; /** * Partial one-to-many transformation with optional stop: reference>(t1,t2,t3)[::stop] * Reference and targets are required, only stop is optional */ export declare const PartialTransformationBatchSchema: Schema.extend; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.optional>; }>>; export declare const PartialTransformationBatch: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }, import("effect/ParseResult").ParseError, never>; export type PartialTransformationBatch = typeof PartialTransformationBatchSchema.Type; //# sourceMappingURL=transformation.schema.d.ts.map