import type { FloorMapEdge, FloorMapEdgeRouting, FloorMapItemBase } from '../types';
import { type FloorMapEdgeRoute, type FloorMapItemPixelRect } from '../utils/edgeRouting';
export declare function useFloorMapEdgeViewModel<T extends FloorMapItemBase>(params: {
    edges: FloorMapEdge[] | undefined;
    items: T[];
    cellSize: number;
    itemUnit: 'cell' | 'pixel';
    itemGap?: number;
    pendingRectsById?: Record<string, Partial<FloorMapItemPixelRect>>;
    /** 拖动中段手柄时的临时 routing 覆盖；优先于 edge.routing */
    pendingRoutingByEdge?: Record<string, FloorMapEdgeRouting>;
}): {
    routes: FloorMapEdgeRoute[];
    rectsById: Map<string, FloorMapItemPixelRect>;
};
