import { IGraphicsFill } from "./IGraphicsFill";
import { IGraphicsData } from "./IGraphicsData";
import { ColorTransform } from "../geom/ColorTransform";
import { Matrix } from "../geom/Matrix";
import { Point } from "../geom/Point";
import { Rectangle } from "../geom/Rectangle";
import { Canvas, Paint, Path, Shader } from "canvaskit-wasm";
export declare class GraphicsGradientFill extends Object implements IGraphicsFill, IGraphicsData {
    paint: Paint;
    graphicType: string;
    path: Path;
    colors: any[];
    alphas: any[];
    ratios: any[];
    matrix: Matrix;
    focalPointRatio: number;
    private _shader;
    private _type;
    private _bounds;
    private _spreadMethod;
    private _tileMode;
    private _interpolationMethod;
    private _startPoint;
    private _endPoint;
    private _radius1;
    private _radius2;
    private _convertedColors;
    private _convertedRatios;
    private _colorTransform;
    private _isDirty;
    constructor(type?: string, colors?: any[], alphas?: any[], ratios?: any[], bounds?: Rectangle, matrix?: Matrix, spreadMethod?: any, interpolationMethod?: string, focalPointRatio?: number);
    private getShaderColors;
    private transformGradient;
    private getRotatedRectPoint;
    private decompose_2d_matrix;
    private colorsChanged;
    get type(): string;
    set type(value: string);
    get spreadMethod(): string;
    set spreadMethod(value: string);
    get interpolationMethod(): string;
    set interpolationMethod(value: string);
    get bounds(): Rectangle;
    set bounds(value: Rectangle);
    get shader(): Shader;
    get startPoint(): Point;
    get endPoint(): Point;
    draw(ctx: CanvasRenderingContext2D, colorTransform: ColorTransform): void;
    skiaDraw: (ctx: Canvas, colorTransform: ColorTransform, mat?: Matrix) => void;
}
