import { ColorStop, LinearColorHint } from '../gradient-parser';
import { SVGColorStop } from './types';
/**
 * @param angle - deg angle
 * @param aspectRatio - width : height
 * @param start - first stop color offset in percent
 * @param end - last stop color offset in percent
 *
 * The SVG stop color offset cannot be less than 0 or greater than 100.
 * (x1; y1) point takes into account the start offset
 * (x2; y2) point takes into account the end offset
 * Therefore, the converted color offsets must be on a scale from 0 to 100.
 */
export declare const svgAngle: (angle: number, aspectRatio: number, start?: number, end?: number) => {
    x1: string;
    y1: string;
    x2: string;
    y2: string;
};
export declare const prepareColorStops: (colorStops: (ColorStop | LinearColorHint)[]) => {
    colorStops: ColorStop[];
    start: number;
    end: number;
} | null;
export declare const svgColorStops: (colorStops: ColorStop[], start?: number, end?: number) => SVGColorStop[] | null;
export declare const checkSupportColorStop: (colorStop: ColorStop | LinearColorHint | undefined) => ColorStop | null;
