import { ColorStop } from "../value";
import { PainterGradientPatternOption, PainterGradientPatternStyle } from "./base";
import { PainterElement } from "../painter-element/base";
export interface PainterLinearGradientOption extends PainterGradientPatternOption {
    type: "linear-gradient";
    colorStops: ColorStop[];
    x1: number;
    y1: number;
    x2: number;
    y2: number;
}
export declare class PainterLinearGradientStyle extends PainterGradientPatternStyle {
    option: PainterLinearGradientOption;
    constructor(element: PainterElement, option: PainterLinearGradientOption);
    get style(): CanvasGradient;
}
