import { ModdleElement } from '../types/bpmn.types';
import { Point, Rectangle } from './types';
export declare function is(type: string | ModdleElement, expected: string | ModdleElement): boolean;
export declare function connectRectangles(source: Rectangle, target: Rectangle): Point[] | undefined;
export declare function connectPoints(a: Point, b: Point, directions: string): Point[];
export declare function getBendpoints(a: Point, b: Point, directions: string): {
    x: number;
    y: number;
}[];
export declare function getMid(bounds: Rectangle): Point;
export declare function pointsAligned(a: Point, b: Point): false | "h" | "v";
export declare function getDirections(orientation: string, defaultLayout: string): string | null;
export declare function roundPoint(point: Point): {
    x: number;
    y: number;
};
export declare function getOrientation(rect: Rectangle, reference: Rectangle, padding: number): string;
export declare function asTRBL(bounds: Rectangle): {
    top: number;
    right: number;
    bottom: number;
    left: number;
};
export declare function getStartEvent(flowElements: ModdleElement[]): ModdleElement;
export declare function getOutgoingConnection(source: ModdleElement, flowElements: ModdleElement[]): ModdleElement[];
