import { AbsProps, BorderProps, ColorProps, GraphicNode } from "@/graphics";
import { IBaseProps, IPoint, NodeType } from "@/idl";
import { EditableProps } from "@/graphics/props/EditableProps";
import { IRect, Point } from "@/common";
import { EditableDrawer } from "@/graphics/drawer/chart/EditableDrawer";
import { EditStatus } from "@/graphics/editable/EditStatus";
export declare class OolongEditableNode extends GraphicNode {
    type: NodeType;
    drawer: EditableDrawer;
    editStatus: EditStatus | null;
    get editProps(): EditableProps;
    get globalEditPoints(): IPoint[];
    get borderProps(): BorderProps;
    get colorProps(): ColorProps;
    constructor(id: string, ctx: CanvasRenderingContext2D);
    rebuildFromGlobalEditPoints(globalPoints: IPoint[]): {
        baseProps: IBaseProps;
        globalBaseProps: IBaseProps;
        points: IPoint[];
    };
    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): OolongEditableNode;
}
//# sourceMappingURL=OolongEditableNode.d.ts.map