export function getShadingPattern(IR: any): RadialAxialShadingPattern | MeshShadingPattern | DummyShadingPattern;
export namespace PathType {
    let FILL: string;
    let STROKE: string;
    let SHADING: string;
}
export class TilingPattern {
    static MAX_PATTERN_SIZE: number;
    constructor(IR: any, ctx: any, canvasGraphicsFactory: any, baseTransform: any);
    color: any;
    operatorList: any;
    matrix: any;
    bbox: any;
    xstep: any;
    ystep: any;
    paintType: any;
    tilingType: any;
    needsIsolation: any;
    ctx: any;
    canvasGraphicsFactory: any;
    baseTransform: any;
    patternBaseMatrix: any;
    canSkipPatternCanvas([width, height, offsetX, offsetY]: [any, any, any, any]): number[] | null;
    updatePatternDims(clippedBBox: any, dims: any): void;
    _renderTileCanvas(owner: any, opIdx: any, dimx: any, dimy: any): any;
    _getCombinedScales(): number[];
    drawPattern(owner: any, path: any, useEOFill: boolean | undefined, [n, m]: [any, any], opIdx: any): void;
    createPatternCanvas(owner: any, opIdx: any): {
        canvas: any;
        canvasEntry: any;
        scaleX: any;
        scaleY: any;
        offsetX: any;
        offsetY: any;
    };
    getSizeAndScale(step: any, realOutputSize: any, scale: any): {
        scale: any;
        size: number;
    };
    clipBbox(graphics: any, x0: any, y0: any, x1: any, y1: any): void;
    setFillAndStrokeStyleToContext(graphics: any, paintType: any, color: any): void;
    isModifyingCurrentTransform(): boolean;
    getPattern(ctx: any, owner: any, inverse: any, pathType: any, opIdx: any): any;
}
declare class RadialAxialShadingPattern extends BaseShadingPattern {
    constructor(IR: any);
    _type: any;
    _bbox: any;
    _colorStops: any;
    _p0: any;
    _p1: any;
    _r0: any;
    _r1: any;
    matrix: any;
    isOriginBased(): boolean;
    isRadial(): boolean;
    areConic(): boolean;
    _createGradient(ctx: any, transform?: null): any;
    _createReversedGradient(ctx: any, transform?: null): any;
    getPattern(ctx: any, owner: any, inverse: any, pathType: any): any;
}
declare class MeshShadingPattern extends BaseShadingPattern {
    constructor(IR: any);
    _posData: any;
    _colData: any;
    _vertexCount: any;
    _bounds: any;
    _bbox: any;
    _background: any;
    matrix: any;
    _createMeshCanvas(combinedScale: any, backgroundColor: any, canvasFactory: any): {
        canvas: any;
        offsetX: number;
        offsetY: number;
        scaleX: number;
        scaleY: number;
    };
    getPattern(ctx: any, owner: any, inverse: any, pathType: any): any;
}
declare class DummyShadingPattern extends BaseShadingPattern {
    getPattern(): string;
}
declare class BaseShadingPattern {
    isModifyingCurrentTransform(): boolean;
    getPattern(): void;
}
export {};
