import { GpuShaderDefinition } from '../../gpu/porters'; import { transformColor, transformPosition } from '../../utilities/transformations'; import { ColorStop } from '../../utilities/colorStops'; export type { ColorStop }; export interface ComponentProps { /** * The starting color at the center of the gradient * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#ff0000" */ colorA: Parameters[0]; /** * The ending color at the edge of the gradient * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#0000ff" */ colorB: Parameters[0]; stops: ColorStop[] | null; /** * The center point of the radial gradient * * Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`. * @default {"x":0.5,"y":0.5} */ center: Parameters[0]; /** * The radius of the gradient (normalized, 0.0-1.0) * * @default 1 */ radius: number; /** * Number of times the gradient repeats. Values above 1 create concentric rings. * * @default 1 */ repeat: number; /** * Stretches the gradient into an ellipse. Values below 1 compress vertically, above 1 compress horizontally. * * @default 1 */ aspect: number; /** * Rotates the ellipse axis in degrees. Only visible when Aspect is not 1. * * @default 0 */ skewAngle: number; /** * Color space for color interpolation * * Accepts one of the predefined option values. * @default "linear" */ colorSpace: string; } export declare const componentDefinition: GpuShaderDefinition; export default componentDefinition; //# sourceMappingURL=index.d.ts.map