import { EventDispatcher } from "three";
import { End, PathData, RouteType, Start } from "../../utils";
import { RoadData } from "../../utils/road";
import type { DirectionPathData } from '../nav-path';
interface EventMap {
    "init-road-status": {
        status: boolean;
    };
}
export declare class CrNavPath extends EventDispatcher<EventMap> {
    worker: any;
    initRoadStatus: boolean;
    constructor();
    setRoadData(roadData: RoadData[]): Promise<void>;
    getPath(start: Start, end: End, type?: RouteType): Promise<PathData>;
    getDirectionPath(points: [number, number][]): Promise<DirectionPathData[]>;
    dispose(): Promise<void>;
}
export {};
