import { WidgetLayoutInfo } from '../../../../../redux/currentApp/layoutInfo/layoutInfoState';
export interface NodeShape {
    x: number;
    y: number;
    w: number;
    h: number;
}
export declare const isNewCrossing: (mainNode: NodeShape, otherNode: NodeShape) => boolean;
export declare const isOnlyCrossingY: (mainNode: NodeShape, otherNode: NodeShape) => boolean;
export declare const getCrossingWidget: (parentNodeDisplayName: string, mainNode: NodeShape, draggedDisplayNames: string[]) => WidgetLayoutInfo[];
export declare const sortedRuleByYAndX: (node1: WidgetLayoutInfo, node2: WidgetLayoutInfo) => 0 | 1 | -1;
export declare const getNewPositionWithCrossing: (mainSquare: NodeShape, parentDisplayName: string, effectedDisplayNames: string[], realTimeLayout?: WidgetLayoutInfo[]) => Map<string, WidgetLayoutInfo>;
