export interface TransformState {
    origin: [string, string];
    translate: [number, number];
    scale: number;
}
export interface Rects {
    canvasRect: Rect;
    surfaceRect: Rect;
}
export interface Rect {
    top: number;
    bottom: number;
    left: number;
    right: number;
    width: number;
    height: number;
    offsetTop: number;
    offsetLeft: number;
    offsetWidth: number;
    offsetHeight: number;
}
export declare type TransformAction = (transform: TransformState, rects: Rects) => Partial<TransformState>;
export declare type NodeID = string | number;
export interface Node {
    getRect: () => Rect;
}
export declare type NodeEdge = 'top' | 'bottom' | 'left' | 'right';
export declare type Points = [[number, number], [number, number]];
