import { GpuShaderDefinition } from '../../gpu/porters'; import { transformColor, transformPosition } from '../../utilities/transformations'; import { ColorStop } from '../../utilities/colorStops'; export type { ColorStop }; export interface ComponentProps { /** * Starting color of the sweep * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#FF0080" */ colorA: Parameters[0]; /** * Ending color of the sweep (wraps back to Color A) * * Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`). * @default "#00BFFF" */ colorB: Parameters[0]; stops: ColorStop[] | null; /** * Center point of the sweep * * 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]; /** * Rotation offset in degrees — shifts where Color A begins * * @default 0 */ rotation: number; /** * Number of times the gradient repeats around the circle. Values above 1 create a starburst pattern. * * @default 1 */ repeat: 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