UNPKG

@geoapify/route-planner-sdk

Version:

TypeScript SDK for the Geoapify Route Planner API. Supports route optimization, delivery planning, and timeline visualization in browser and Node.js

20 lines (19 loc) 596 B
import { RouteLeg } from "./route-leg"; import { AgentSolutionData } from "../../../interfaces"; import { RouteAction } from "./route-action"; import { Waypoint } from "./waypoint"; export declare class AgentSolution { private readonly raw; constructor(raw?: AgentSolutionData); getRaw(): AgentSolutionData; getAgentIndex(): number; getAgentId(): string; getTime(): number; getStartTime(): number; getEndTime(): number; getDistance(): number; getMode(): string; getLegs(): RouteLeg[]; getActions(): RouteAction[]; getWaypoints(): Waypoint[]; }