import { type RouteLine, type RoutePoint } from "../types";
/** Decides whether the current GPS tick warrants rebuilding the route. */
export interface RerouteController {
    /** Evaluates the current tick. Returns `true` when the caller should rebuild the route. */
    shouldReroute(position: RoutePoint, routeLines: RouteLine[]): boolean;
}
/** `thresholdSvg` — plan-scale-aware off-route distance (SVG units), produced by
 *  `resolveRerouteThresholdSvg` and passed in by the composition root. */
export declare function createRerouteController(thresholdSvg: number): RerouteController;
//# sourceMappingURL=rerouteController.d.ts.map