/** * Pattern types for color palette generation * * These types represent the transformation rules learned from example palettes. */ import type { OKLCHColor } from "../../schemas/color.js"; import type { StopPosition } from "../../schemas/palette.js"; /** * Transformation for a single stop relative to a reference stop */ export interface StopTransform { readonly lightnessMultiplier: number; readonly chromaMultiplier: number; readonly hueShiftDegrees: number; } /** * Complete transformation pattern learned from example palettes */ export interface TransformationPattern { readonly name: string; readonly referenceStop: StopPosition; readonly transforms: Readonly>; readonly metadata: { readonly sourceCount: number; readonly confidence: number; }; } /** * An analyzed palette with OKLCH colors */ export interface AnalyzedPalette { readonly name: string; readonly stops: ReadonlyArray<{ readonly position: StopPosition; readonly color: OKLCHColor; }>; } //# sourceMappingURL=pattern.d.ts.map