import { Plugin } from "../base";
import { BMap } from "../../bmap";
import { NavPath } from "../nav-path";
export declare class SortByDistance extends Plugin {
    navPath: NavPath;
    needDisposeNavPath: boolean;
    constructor(bmap: BMap, navPath?: NavPath);
    sortByDistance(start: {
        floor: string;
        x: number;
        y: number;
    }, list: {
        floor: string;
        center_x: number;
        center_y: number;
        distance?: number;
    }[], strict?: boolean): Promise<{
        floor: string;
        center_x: number;
        center_y: number;
        distance?: number;
    }[]>;
    private _getDistance;
    dispose(): void;
}
