import type { RadarTripOptions, RadarTripStatus, RadarTripResponse } from '../types'; /** @internal trips API — use Radar.startTrip / updateTrip / completeTrip / cancelTrip instead */ declare class TripsAPI { /** save trip options to localStorage, pass `undefined` to clear */ static setTripOptions(tripOptions?: RadarTripOptions): void; /** get saved trip options from localStorage */ static getTripOptions(): RadarTripOptions; /** remove saved trip options from localStorage */ static clearTripOptions(): void; /** * start a new trip * @param tripOptions - trip configuration and destination * @returns the created trip and any triggered events */ static startTrip(tripOptions: RadarTripOptions): Promise; /** * update an in-progress trip * @param tripOptions - updated trip configuration * @param status - optional trip status override * @returns the updated trip and any triggered events */ static updateTrip(tripOptions: RadarTripOptions, status?: RadarTripStatus): Promise; /** complete the current trip and clear local trip options */ static completeTrip(): Promise; /** cancel the current trip and clear local trip options */ static cancelTrip(): Promise; } export default TripsAPI;