import { IDrawer } from "../IDrawer";
import { OolongNode } from "../OolongNode";
import { IRect } from "../../common/Rect";
import { GraphicNode } from "../node/GraphicNode";
import { IPoint } from "../../idl/index";
import { ShapeInfo } from "kld-intersections";
export declare abstract class AbsDrawer implements IDrawer {
    protected buildPath(node: OolongNode, ctx: CanvasRenderingContext2D): void;
    draw(node: OolongNode, ctx: CanvasRenderingContext2D): void;
    protected getTextPadding(node: OolongNode): number;
    fullTextNodeHeight(node: OolongNode): number;
    textContentBounds(node: OolongNode): IRect;
    protected nodeShapeInfo(node: GraphicNode): ShapeInfo;
    borderContains(node: GraphicNode, p: IPoint, buffer: number): IPoint | null;
    getConnectAnchor(): IPoint[];
}
//# sourceMappingURL=AbsDrawer.d.ts.map