export declare class AmapInstance { key: string; constructor(key: string); getDrivingPath(data: { from: [number, number]; to: [number, number]; }): Promise; regeo(params: { longitude: number; latitude: number; }): Promise; ipLoc(data: { ip: string; }): Promise; getDistrict(data: { keywords: string; subdistrict: string; }): Promise; /** * 高德这个接口搜索能力很弱,但高级接口要收费,只能先暂时用着 * @param data * @returns */ geocode(data: { address: string; city?: string; }): Promise; }