import { ToolEnum } from "../../../tool";
import { AppEventContext } from "../../../app";
import { GraphicNode } from "../../../graphics";
import { IPoint, NodeType } from "../../../idl";
export declare abstract class AbsPreviewHandler {
    abstract enable(tool: ToolEnum, shapeType: number, nodeType?: NodeType): boolean;
    abstract handle(id: string, ctx: AppEventContext): Promise<GraphicNode>;
    protected computePreviewPos(ctx: AppEventContext, width: number, height: number): IPoint;
}
//# sourceMappingURL=AbsPreviewHandler.d.ts.map