/** * @fileoverview Real-time arrivals and departures at a stop. * @module mcp-server/tools/definitions/get-arrivals.tool */ import { z } from '@cyanheads/mcp-ts-core'; import { JsonRpcErrorCode } from '@cyanheads/mcp-ts-core/errors'; export declare const getArrivals: import("@cyanheads/mcp-ts-core").ToolDefinition; minutesAfter: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ stopId: z.ZodString; stopName: z.ZodString; currentTime: z.ZodNumber; arrivals: z.ZodArray; scheduledArrivalTime: z.ZodNumber; scheduleDeviation: z.ZodNumber; vehicleId: z.ZodNullable; vehiclePosition: z.ZodNullable>; stopsAway: z.ZodNullable; tripId: z.ZodString; routeId: z.ZodString; situationIds: z.ZodArray; }, z.core.$strip>>; situations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>, readonly [{ readonly reason: "stop_not_found"; readonly code: JsonRpcErrorCode.NotFound; readonly when: "Stop ID does not exist on this instance."; readonly recovery: "Search for the stop with onebusaway_find_stops or onebusaway_search_stops to get a valid ID."; readonly thrownBy: "service"; }, { readonly reason: "rate_limited"; readonly code: JsonRpcErrorCode.RateLimited; readonly retryable: true; readonly when: "No upstream request slot opened within the queue wait cap, or OneBusAway returned a rate limit response."; readonly recovery: "Wait the seconds given in data.retryAfter, then retry — one API key is shared across all callers, so requests queue against a global budget rather than failing per caller."; readonly thrownBy: "service"; }], { readonly queriedStop: z.ZodString; readonly count: z.ZodNumber; readonly windowMinutes: z.ZodObject<{ before: z.ZodNumber; after: z.ZodNumber; }, z.core.$strip>; readonly notice: z.ZodOptional; }>; //# sourceMappingURL=get-arrivals.tool.d.ts.map