import React from 'react'; export interface RouteMapProps extends React.HTMLAttributes { origin: { lat: number; lng: number; }; destination: { lat: number; lng: number; }; waypoints?: Array<{ lat: number; lng: number; }>; travelMode?: 'DRIVING' | 'WALKING' | 'BICYCLING' | 'TRANSIT'; height?: string; mapId?: string; apiKey?: string; mapContainerClassName?: string; disableDefaultUI?: boolean; zoomControl?: boolean; streetViewControl?: boolean; mapTypeControl?: boolean; fullscreenControl?: boolean; onRouteCalculated?: (distance: string, duration: string) => void; } /** * Specialized route display and calculation component for Google Maps. * * @description * Calculates and renders a route between an `origin` and `destination` point * using the Google Directions Service. Supports intermediate `waypoints` and * multiple `travelMode` options (DRIVING, WALKING, BICYCLING, TRANSIT). * * @ai-rules * 1. Provide `origin` and `destination` as LatLng objects `{ lat, lng }`. * 2. Use `onRouteCalculated` to receive the pre-formatted distance and duration strings. * 3. `travelMode` accepts 'DRIVING', 'WALKING', 'BICYCLING', or 'TRANSIT'. * 4. The Directions API must be enabled on your Google Maps API key. */ export declare const RouteMap: React.ForwardRefExoticComponent>;