/** * Mode detection schemas for the resolver. */ import { Schema } from "effect"; /** Discriminated union of all execution modes. */ declare const ExecutionModeSchema: Schema.Union<[Schema.Struct<{ _tag: Schema.tag<"SinglePalette">; } & { color: Schema.optional>; stop: Schema.optional>; }>, Schema.Struct<{ _tag: Schema.tag<"BatchPalettes">; } & { pairs: Schema.NonEmptyArray, Schema.Struct<{ stop: Schema.optional>; }>>>; }>, Schema.Struct<{ _tag: Schema.tag<"SingleTransform">; } & { input: Schema.Union<[Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, 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>]>; }>, Schema.Struct<{ _tag: Schema.tag<"ManyTransform">; } & { reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.optional>; }>, Schema.Struct<{ _tag: Schema.tag<"BatchTransform">; } & { transformations: Schema.NonEmptyArray; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>>, Schema.extend; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.optional>; }>>, Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, 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 type ExecutionMode = typeof ExecutionModeSchema.Type; /** Mode detection result with mode and interaction flag. */ declare const ModeDetectionResultSchema: Schema.Struct<{ mode: Schema.Union<[Schema.Struct<{ _tag: Schema.tag<"SinglePalette">; } & { color: Schema.optional>; stop: Schema.optional>; }>, Schema.Struct<{ _tag: Schema.tag<"BatchPalettes">; } & { pairs: Schema.NonEmptyArray, Schema.Struct<{ stop: Schema.optional>; }>>>; }>, Schema.Struct<{ _tag: Schema.tag<"SingleTransform">; } & { input: Schema.Union<[Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, 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>]>; }>, Schema.Struct<{ _tag: Schema.tag<"ManyTransform">; } & { reference: Schema.refine; targets: Schema.NonEmptyArray>; stop: Schema.optional>; }>, Schema.Struct<{ _tag: Schema.tag<"BatchTransform">; } & { transformations: Schema.NonEmptyArray; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>>, Schema.extend; targets: Schema.NonEmptyArray>; }>, Schema.Struct<{ stop: Schema.optional>; }>>, Schema.Struct<{ reference: Schema.refine; target: Schema.refine; stop: Schema.Literal<[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]>; }>, 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>]>>; }>]>; isInteractive: typeof Schema.Boolean; }>; export type ModeDetectionResult = typeof ModeDetectionResultSchema.Type; export declare const SinglePaletteMode: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly color?: string | undefined; readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly _tag: "SinglePalette"; }, import("effect/ParseResult").ParseError, never>; export declare const BatchPalettesMode: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly _tag: "BatchPalettes"; readonly pairs: readonly [{ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }, ...({ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; })[]]; }, import("effect/ParseResult").ParseError, never>; export declare const SingleTransformMode: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly _tag: "SingleTransform"; readonly input: { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { 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 declare const ManyTransformMode: (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 _tag: "ManyTransform"; readonly reference: string; readonly targets: readonly [string, ...string[]]; }, import("effect/ParseResult").ParseError, never>; export declare const BatchTransformMode: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly _tag: "BatchTransform"; readonly transformations: readonly [{ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; } | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }) | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }), ...({ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; } | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }) | ({ 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 declare const ModeDetectionResult: (u: unknown, overrideOptions?: import("effect/SchemaAST").ParseOptions) => import("effect/Effect").Effect<{ readonly mode: { readonly color?: string | undefined; readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly _tag: "SinglePalette"; } | { readonly _tag: "BatchPalettes"; readonly pairs: readonly [{ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }, ...({ readonly color: string; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; })[]]; } | { readonly _tag: "SingleTransform"; readonly input: { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { 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 _tag: "ManyTransform"; readonly reference: string; readonly targets: readonly [string, ...string[]]; } | { readonly _tag: "BatchTransform"; readonly transformations: readonly [{ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; } | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }) | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }), ...({ readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; readonly reference: string; readonly target: string; } | { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; readonly reference?: string | undefined; readonly target?: string | undefined; } | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000; }) | ({ readonly reference: string; readonly targets: readonly [string, ...string[]]; } & { readonly stop?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 | undefined; }))[]]; }; readonly isInteractive: boolean; }, import("effect/ParseResult").ParseError, never>; export {}; //# sourceMappingURL=resolver.schema.d.ts.map