/** * Interpolation and smoothing utilities for color palette generation */ import type { TransformationPattern } from "../learning/pattern.js"; /** * Smooth the transformation pattern to ensure: * - Lightness is perfectly linear * - Chroma follows a smooth curve * - Hue is consistent (median value) */ export declare const smoothPattern: (pattern: TransformationPattern) => TransformationPattern; /** * Linear interpolation between two values */ export declare const lerp: (a: number, b: number, t: number) => number; /** * Clamp a value between min and max */ export declare const clamp: (value: number, min: number, max: number) => number; //# sourceMappingURL=interpolation.d.ts.map