import { GpuShaderDefinition } from '../../gpu/porters'; import { transformColor } from '../../utilities/transformations'; export interface ComponentProps { /** * Built-in cosine palette, or Custom Colors to pick your own stops * * Accepts one of: `"rainbow"`, `"sunset"`, `"ocean"`, `"fire"`, `"pastel"`, `"neon"`, `"custom"`. * @default "rainbow" */ palette: string; /** * Color for the darkest tones * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#1a0b2e" */ colorLow: Parameters[0]; /** * Color for the midtones * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#e94560" */ colorMid: Parameters[0]; /** * Color for the brightest tones * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#f9ed69" */ colorHigh: Parameters[0]; /** * Gradient animation speed (0 = static). The gradient cycles seamlessly. * * @default 0.15 */ speed: number; /** * Steepness of the luminance-to-gradient mapping * * @default 1 */ contrast: number; /** * Input shadow clip — luminance at/below this maps to the start of the gradient * * @default 0 */ blackPoint: number; /** * Input highlight clip — luminance at/above this maps to the end of the gradient * * @default 1 */ whitePoint: number; /** * Blend between the original image (0) and the gradient-mapped result (1) * * @default 1 */ strength: number; /** * Color space for interpolating custom colors * * Accepts one of the predefined option values. * @default "oklch" */ colorSpace: string; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map