///
import type { Point } from "../types/interface";
type GoogleDirectionsStatus = `${google.maps.DirectionsStatus}`;
export interface GoogleDirectionsResponse extends Pick {
status: GoogleDirectionsStatus;
error_message?: string;
}
export interface ApiGoogleDirectionsProps {
proxyUrl?: string;
origin: Point;
destination: Point;
waypoints?: Point[];
mode?: `${google.maps.TravelMode}`;
traffic_model?: `${google.maps.TrafficModel}`;
alternatives?: boolean;
arrival_time?: number;
departure_time?: number;
avoid?: ("tolls" | "highways" | "ferries" | "indoor")[];
language?: string;
region?: string;
units?: "metric" | "imperial";
transit_mode?: `${google.maps.TransitMode}`;
transit_routing_preference?: `${google.maps.TransitRoutePreference}`;
}
export declare function apiGoogleDirections(props: ApiGoogleDirectionsProps): Promise;
export {};