import { AttributesBuffer } from '@awayjs/stage';
import { IMaterial, Style } from '@awayjs/renderer';
import { GraphicsPath } from './GraphicsPath';
import { Graphics } from '../Graphics';
import { IResult } from './WorkerTesselatorBody';
import { IFillStyle } from './IGraphicsData';
export interface IStyleElements {
    material: IMaterial;
    style: Style;
}
type tStyleMapper = (style: IFillStyle, data: IStyleElements) => IStyleElements;
export declare const UnpackFillStyle: Record<string, tStyleMapper>;
export declare class GraphicsFactoryFills {
    static get Tess2Wasm(): import("tess2-wasm").ITess;
    static prepareWasm(): void;
    static TESS_SCALE: number;
    static USE_TESS_FIX: boolean;
    static EPS: number;
    static toFixed(val: number): number;
    static nearest(x0: number, y0: number, x1: number, y1: number): boolean;
    static draw_pathes(targetGraphics: Graphics, clear?: boolean): void;
    static prepareContours(graphicsPath: GraphicsPath, applyFix?: boolean, qualityScale?: number): number[][];
    static runTesselator(graphicsPath: GraphicsPath, qualityScale?: number): IResult;
    static fillBuffer(result: IResult, finalVerts: Float32Array): Float32Array;
    static pathToAttributesBuffer(graphicsPath: GraphicsPath, closePath?: boolean, target?: AttributesBuffer, qualityScale?: number): AttributesBuffer;
}
export {};
//# sourceMappingURL=GraphicsFactoryFills.d.ts.map