import { Poi } from '../building-blocks/poi/poi.js';
interface UpdateCrossingModeParams {
    targets: Poi[];
    buttonWidth: number;
    minGap: number;
    previousPositions: Map<Poi, number>;
    lastOffsets: Map<Poi, number>;
    crossingOrder: Poi[];
    crossingLastEffectiveX: Map<Poi, number>;
}
interface UpdateCrossingModeResult {
    shouldContinue: boolean;
    previousPositions: Map<Poi, number>;
    crossingOrder: Poi[];
}
declare function updateCrossingModeState({ targets, buttonWidth, minGap, previousPositions, lastOffsets, crossingOrder, crossingLastEffectiveX, }: UpdateCrossingModeParams): UpdateCrossingModeResult;
export { updateCrossingModeState };
//# sourceMappingURL=poi-layer-crossing-utils.d.ts.map