/** * Color-related error types using Effect's tagged errors */ declare const ColorParseError_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: "ColorParseError"; } & Readonly; /** * Error thrown when a color string cannot be parsed */ export declare class ColorParseError extends ColorParseError_base<{ readonly input: string; readonly reason: string; }> { } declare const ColorConversionError_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: "ColorConversionError"; } & Readonly; /** * Error thrown when a color cannot be converted between color spaces */ export declare class ColorConversionError extends ColorConversionError_base<{ readonly fromSpace: string; readonly toSpace: string; readonly color: unknown; readonly reason: string; }> { } declare const GamutError_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: "GamutError"; } & Readonly; /** * Error thrown when a color is outside the displayable gamut */ export declare class GamutError extends GamutError_base<{ readonly color: unknown; readonly message: string; }> { } declare const ColorTransformationError_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: "ColorTransformationError"; } & Readonly; /** * Error thrown when a color transformation fails */ export declare class ColorTransformationError extends ColorTransformationError_base<{ readonly reference: unknown; readonly target: unknown; readonly reason: string; }> { } declare const TransformationParseError_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: "TransformationParseError"; } & Readonly; /** * Error thrown when transformation syntax cannot be parsed */ export declare class TransformationParseError extends TransformationParseError_base<{ readonly input: string; readonly reason: string; }> { } export {}; //# sourceMappingURL=errors.d.ts.map