import { Point, RGBAColor, Shader } from "./types"; /** * @throws Error if the number of colors is greater than MAX_COLOR_STOPS * @throws Error if stops is provided and is not the same length as stops * @throws Error if stops is provided and is not in ascending order */ export declare function conicGradient(options: { /** * The colors to use in the gradient. Must be at least 2. */ colors: RGBAColor[]; /** * The positions of the colors in the gradient. Must be the same length as colors and in ascending order. * If not provided, the colors will be evenly spaced. * @example [0, 0.5, 1] */ stops?: RGBAColor[]; /** * The center of the gradient. Defaults to center * @example [0.5, 0.5] */ center?: Point; }): Shader;