import { BaseXform } from "@excel/xlsx/xform/base-xform";
import { ColorXform } from "@excel/xlsx/xform/style/color-xform";
interface StopModel {
    position: number;
    color: any;
}
interface PatternFillModel {
    type: "pattern";
    pattern: string;
    fgColor?: any;
    bgColor?: any;
}
interface GradientFillModel {
    type: "gradient";
    gradient: "angle" | "path";
    degree?: number;
    center?: {
        left: number;
        top: number;
        right?: number;
        bottom?: number;
    };
    stops: StopModel[];
}
type FillModel = PatternFillModel | GradientFillModel;
declare class StopXform extends BaseXform {
    map: {
        color: ColorXform;
    };
    parser: any;
    constructor();
    get tag(): string;
    render(xmlStream: any, model: StopModel): void;
    parseOpen(node: any): boolean;
    parseText(): void;
    parseClose(name: string): boolean;
}
declare class PatternFillXform extends BaseXform {
    map: {
        fgColor: ColorXform;
        bgColor: ColorXform;
    };
    parser: any;
    constructor();
    get name(): string;
    get tag(): string;
    render(xmlStream: any, model: PatternFillModel): void;
    parseOpen(node: any): boolean;
    parseText(text: string): void;
    parseClose(name: string): boolean;
}
declare class GradientFillXform extends BaseXform {
    map: {
        stop: StopXform;
    };
    parser: any;
    constructor();
    get name(): string;
    get tag(): string;
    render(xmlStream: any, model: GradientFillModel): void;
    parseOpen(node: any): boolean;
    parseText(text: string): void;
    parseClose(name: string): boolean;
}
declare class FillXform extends BaseXform {
    map: {
        patternFill: PatternFillXform;
        gradientFill: GradientFillXform;
    };
    parser: any;
    constructor();
    get tag(): string;
    render(xmlStream: any, model: FillModel): void;
    parseOpen(node: any): boolean;
    parseText(text: string): void;
    parseClose(name: string): boolean;
    validStyle(value: string): boolean;
    static validPatternValues: {
        [key: string]: boolean;
    };
    static StopXform: typeof StopXform;
    static PatternFillXform: typeof PatternFillXform;
    static GradientFillXform: typeof GradientFillXform;
}
export { FillXform };
