export type GradientStopColor = { offset: number; color: string; }; /** * Parses a CSS gradient string into an array of colours and the rotation angle. * */ declare function parseCSSGradient(gradientStr: string): { angle: number; stopColors: GradientStopColor[]; }; export default parseCSSGradient;