import { type EventSubscription } from 'expo-modules-core'; import type { EdgePadding, MapTemplateButtonsConfig, MapTemplateConfig, RouteSegment } from './map/map.types'; import type { ManeuverConfig, TravelEstimates, TripConfig } from './navigation/navigation.types'; import type { SearchResultItem } from './search/search.types'; export type ExpoCarPlayModule = { addListener(eventName: string, listener: (event: T) => void): EventSubscription; createMapTemplate(config?: MapTemplateConfig | null): Promise; updateMapTemplateButtons(config: MapTemplateButtonsConfig): Promise; setRootTemplate(templateId: string): Promise; pushTemplate(templateId: string): Promise; popTemplate(): Promise; startFollowingUser(): Promise; stopFollowingUser(): Promise; setCarPlayRoute(segments: RouteSegment[], edgePadding?: EdgePadding | null): Promise; clearCarPlayRoute(): Promise; startNavigation(tripConfig: TripConfig): Promise; stopNavigation(): Promise; /** CarPlay shows up to 12 trip previews; additional entries are ignored. */ showTripPreviews(trips: TripConfig[]): Promise; hideTripPreviews(): Promise; updateManeuvers(maneuvers: ManeuverConfig[]): Promise; updateTravelEstimates(estimates: TravelEstimates, maneuverIndex?: number): Promise; createSearchTemplate(): Promise; updateSearchResults(requestId: string, items: SearchResultItem[]): Promise; }; declare const _default: ExpoCarPlayModule; export default _default; //# sourceMappingURL=ExpoCarPlayModule.d.ts.map