import { Feature, Point } from "@turf/turf";
import { ICurrentPositionProperties, IShapeAnchorPoint } from "../../interfaces/VPInterfaces";
export declare class AnchorPointSegmenter {
    private geoHelper;
    private anchorPoints;
    private anchorPointSegments;
    private currentPosition;
    constructor(anchorPoints: IShapeAnchorPoint[], currentPosition: Feature<Point, ICurrentPositionProperties>);
    /**
     * Returns closest anchor point to current position
     *  if lastStopSequence is provided, only anchor points from that segment are considered
     */
    getClosesPoint(lastStopSequence: number | null): IShapeAnchorPoint | null;
    /**
     * Returns all anchor points in radius of current position
     *   if lastStopSequence is provided, only anchor points from that segment are returned
     */
    private getAnchorPointsInRadius;
    /** Divides anchor points into segments by last stop sequence and this stop sequence if at stop */
    private computeAnchorPointSegments;
    private getSegment;
}
