1 | import { CoreTypes } from '../../core-types';
|
2 | import { Color } from '../../color';
|
3 | import type { LinearGradient as CSSLinearGradient } from '../../css/parser';
|
4 | export interface ColorStop {
|
5 | color: Color;
|
6 | offset?: CoreTypes.LengthPercentUnit;
|
7 | }
|
8 | export declare class LinearGradient {
|
9 | angle: number;
|
10 | colorStops: ColorStop[];
|
11 | static parse(value: CSSLinearGradient): LinearGradient;
|
12 | static equals(first: LinearGradient, second: LinearGradient): boolean;
|
13 | }
|