import { transformColor, transformAngle } from '../../utilities/transformations'; export interface ComponentProps { /** * Triangle fill color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#1a1a1a" */ colorA: Parameters[0]; /** * Grid line color * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ffffff" */ colorB: Parameters[0]; /** * Number of triangle rows down the shortest canvas edge * * @default 8 */ cells: number; /** * Thickness of the grid lines (0 = no lines) * * @default 1 */ thickness: number; /** * Rotation of the grid in degrees * * @default 0 */ rotation: Parameters[0]; /** * Softness of the line edges (0 = crisp, 1 = very soft) * * @default 0 */ softness: number; /** * Per-triangle random lightening/darkening of the fill color * * @default 0 */ variation: number; /** * Animates the triangle rows drifting horizontally (0 = static) * * Accepts a number between -3 and 3. * @default 0 */ speed: number; /** * Per-row random speed variance for irregular drifting motion * * Accepts a number between 0 and 1. * @default 0.3 */ speedVariance: number; /** * Color space for color interpolation * * Accepts one of the predefined option values. * @default "linear" */ colorSpace: string; } export declare const componentDefinition: import('../..').GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map