import { c as Color, d as RgbColor } from "./color-profile-CyeHnG1T.js"; import { _ as perimeterGradient, a as LinearGradient, c as PaintContext, d as adaptive, f as ansi, g as perProfile, h as named, i as InterpolationSpace, l as PerimeterGradient, m as linearGradient, n as ColorInput, o as NamedColor, p as ansi256, r as GradientStop, s as Paint, t as AdaptiveColor, u as ProfileColor, v as rgb } from "./paint-Cx-zC_sX.js"; import { n as Rect } from "./geometry-BxXOzJgo.js"; //#region src/color/palette.d.ts export declare const canonicalAnsiPalette: readonly RgbColor[]; export declare function colorToRgb(color: Color, palette?: readonly { r: number; g: number; b: number; }[]): RgbColor; //#endregion //#region src/color/sample.d.ts export declare function samplePaint(paint: Paint, x: number, y: number, bounds: Rect, context?: PaintContext): Color | undefined; export declare function blend(source: Color, destination: Color, palette?: PaintContext["palette"]): Color; /** Progressively moves a color toward white in perceptual OKLab space. */ export declare function lighten(color: Color, amount: number, palette?: PaintContext["palette"]): RgbColor; /** Progressively moves a color toward black in perceptual OKLab space. */ export declare function darken(color: Color, amount: number, palette?: PaintContext["palette"]): RgbColor; export declare function interpolateColor(from: Color, to: Color, amount: number, space?: InterpolationSpace, palette?: PaintContext["palette"]): RgbColor; //#endregion export { AdaptiveColor, ColorInput, GradientStop, InterpolationSpace, LinearGradient, NamedColor, Paint, PaintContext, PerimeterGradient, ProfileColor, adaptive, ansi, ansi256, linearGradient, named, perProfile, perimeterGradient, rgb };