import { AbsProps, BorderProps, GraphicNode } from "@/graphics";
import { IRect, Point } from "@/common";
import { IPoint, NodeType } from "@/idl";
import { PaintProps } from "@/graphics/props/PaintProps";
import { PaintDrawer } from "@/graphics/paint/PaintDrawer";
export declare class OolongPaint extends GraphicNode {
    type: NodeType;
    get borderProps(): BorderProps;
    get paintProps(): PaintProps;
    drawer: PaintDrawer;
    constructor(id: string, ctx: CanvasRenderingContext2D);
    updateProps(props: Partial<AbsProps>[]): void;
    contains(point: Point): boolean;
    drawOnGLCtx(ctx: CanvasRenderingContext2D): void;
    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): OolongPaint;
}
//# sourceMappingURL=OolongPaint.d.ts.map