import { ToolEnum } from "../../../../../../../tool";
import { AppEventContext } from "../../../../../../../app";
import { AddNodeInfo } from "../../../../../../../action";
import { IPoint, NodeType } from "../../../../../../../idl";
import { InteractiveEvent } from "../../../../../../../common";
import { GraphicNode } from "../../../../../../../graphics";
export declare abstract class AbsCreateUpHandler {
    abstract enable(tool: ToolEnum, shapeCode: number, nodeType?: NodeType): boolean;
    abstract makeupAddNodeInfo(ctx: AppEventContext, startPos: IPoint, event: InteractiveEvent): Promise<AddNodeInfo>;
    abstract autoFocus(): boolean;
    handle(ctx: AppEventContext, startPos: IPoint, event: InteractiveEvent): void;
    detectParentContainer(ctx: AppEventContext, event: InteractiveEvent): GraphicNode;
    private getSelectedSectionParent;
}
//# sourceMappingURL=AbsCreateUpHandler.d.ts.map