import type { DisplayObject, Text, TextStyleProps } from '../shapes';
import { Point } from '../types';
/**
 * 获得图形的x、y、width、height
 */
export declare function getShapeSpace(shape: DisplayObject): {
    width: number;
    height: number;
};
export declare function getLocalBBox(shape: DisplayObject): {
    x: number;
    y: number;
    width: number;
    height: number;
    left: number;
    bottom: number;
    top: number;
    right: number;
};
export declare function createTempText(group: DisplayObject, attrs: TextStyleProps): Text;
export declare function isHorizontal(p1: Point, p2: Point): boolean;
export declare function isVertical(p1: Point, p2: Point): boolean;
export declare function copyAttributes(target: DisplayObject, source: DisplayObject): void;
