import { AbsProps, BorderProps, ColorProps, GraphicNode, ShapeProps } from "@/graphics";
import { IPoint, NodeType } from "@/idl";
import { IRect, Point } from "@/common";
import { EditStatus } from "@/graphics/editable/EditStatus";
import { PieDrawer } from "@/graphics/drawer/chart/PieDrawer";
import { PieRingProps } from "@/graphics/props/PieRingProps";
import { RingDrawer } from "@/graphics/drawer/chart/RingDrawer";
export declare class OolongPieNode extends GraphicNode {
    type: NodeType;
    pieDrawer: PieDrawer;
    ringDrawer: RingDrawer;
    get drawer(): PieDrawer | RingDrawer;
    editStatus: EditStatus | null;
    get borderProps(): BorderProps;
    get colorProps(): ColorProps;
    get pieRingProps(): PieRingProps;
    get shapeProps(): ShapeProps;
    constructor(id: string, ctx: CanvasRenderingContext2D);
    updateProps(props: Partial<AbsProps>[]): void;
    drawOnGLCtx(ctx: CanvasRenderingContext2D): void;
    loseFocus(): void;
    borderContains(globalPoint: IPoint, buffer: number): IPoint | null;
    contains(point: Point): boolean;
    getStretchMinSize(): Point;
    getTextContentRect(): IRect;
    getConnectAnchor(): IPoint[];
    canQuickCreate(): boolean;
    canBeConnected(): boolean;
    /**
     * 根据数据创建节点
     * @param id
     * @param type
     * @param zIndex
     * @param props
     * @param parent
     * @param ctx
     */
    static load(id: string, type: NodeType, zIndex: number, props: Partial<AbsProps>[], parent: GraphicNode, ctx: CanvasRenderingContext2D): OolongPieNode;
}
//# sourceMappingURL=OolongPieNode.d.ts.map