import { ImageSourcePropType } from 'react-native'; import { TravelEstimates } from './TravelEstimates'; export declare enum CarIconSpanAlignment { ALIGN_BOTTOM = 0, ALIGN_BASELINE = 1, ALIGN_CENTER = 2 } export type NavigationTrip = { steps?: Array; destinations?: Array; }; export type AndroidTravelEstimates = TravelEstimates & { /** * Destination time * @namespace Android */ destinationTime: { timeSinceEpochMillis: number; id: string; }; tripText?: string; }; export type NavigationStep = { lanes?: Array<{ shape: Shape; recommended: boolean; }>; cue?: string | { text: string; image: ImageSourcePropType; alignment: CarIconSpanAlignment; start: number; end: number; }; lanesImage?: ImageSourcePropType; maneuver?: AndroidAutoManeuver; road?: string; }; export type NavigationDestination = { address?: string; name: string; image?: ImageSourcePropType; destinationTravelEstimate: AndroidTravelEstimates; }; type BaseManeuver = { type: Exclude; image: ImageSourcePropType; }; type RoundaboutManeuver = { type: AndroidAutoManeuverType.TYPE_ROUNDABOUT_ENTER_AND_EXIT_CW | AndroidAutoManeuverType.TYPE_ROUNDABOUT_ENTER_AND_EXIT_CCW; roundaboutExitNumber: number; image: ImageSourcePropType; }; type RoundaboutWithAngleManeuver = { type: AndroidAutoManeuverType.TYPE_ROUNDABOUT_ENTER_AND_EXIT_CW_WITH_ANGLE | AndroidAutoManeuverType.TYPE_ROUNDABOUT_ENTER_AND_EXIT_CCW_WITH_ANGLE; roundaboutExitNumber: number; roundaboutExitAngle: number; image: ImageSourcePropType; }; export type AndroidAutoManeuver = BaseManeuver | RoundaboutManeuver | RoundaboutWithAngleManeuver; export declare enum AndroidAutoManeuverType { TYPE_UNKNOWN = 0, TYPE_DEPART = 1, TYPE_NAME_CHANGE = 2, TYPE_KEEP_LEFT = 3, TYPE_KEEP_RIGHT = 4, TYPE_TURN_SLIGHT_LEFT = 5, TYPE_TURN_SLIGHT_RIGHT = 6, TYPE_TURN_NORMAL_LEFT = 7, TYPE_TURN_NORMAL_RIGHT = 8, TYPE_TURN_SHARP_LEFT = 9, TYPE_TURN_SHARP_RIGHT = 10, TYPE_U_TURN_LEFT = 11, TYPE_U_TURN_RIGHT = 12, TYPE_ON_RAMP_SLIGHT_LEFT = 13, TYPE_ON_RAMP_SLIGHT_RIGHT = 14, TYPE_ON_RAMP_NORMAL_LEFT = 15, TYPE_ON_RAMP_NORMAL_RIGHT = 16, TYPE_ON_RAMP_SHARP_LEFT = 17, TYPE_ON_RAMP_SHARP_RIGHT = 18, TYPE_ON_RAMP_U_TURN_LEFT = 19, TYPE_ON_RAMP_U_TURN_RIGHT = 20, TYPE_OFF_RAMP_SLIGHT_LEFT = 21, TYPE_OFF_RAMP_SLIGHT_RIGHT = 22, TYPE_OFF_RAMP_NORMAL_LEFT = 23, TYPE_OFF_RAMP_NORMAL_RIGHT = 24, TYPE_FORK_LEFT = 25, TYPE_FORK_RIGHT = 26, TYPE_MERGE_LEFT = 27, TYPE_MERGE_RIGHT = 28, TYPE_MERGE_SIDE_UNSPECIFIED = 29, TYPE_ROUNDABOUT_ENTER_AND_EXIT_CW = 32, TYPE_ROUNDABOUT_ENTER_AND_EXIT_CW_WITH_ANGLE = 33, TYPE_ROUNDABOUT_ENTER_AND_EXIT_CCW = 34, TYPE_ROUNDABOUT_ENTER_AND_EXIT_CCW_WITH_ANGLE = 35, TYPE_STRAIGHT = 36, TYPE_FERRY_BOAT = 37, TYPE_FERRY_TRAIN = 38, TYPE_DESTINATION = 39, TYPE_DESTINATION_STRAIGHT = 40, TYPE_DESTINATION_LEFT = 41, TYPE_DESTINATION_RIGHT = 42, TYPE_ROUNDABOUT_ENTER_CW = 43, TYPE_ROUNDABOUT_EXIT_CW = 44, TYPE_ROUNDABOUT_ENTER_CCW = 45, TYPE_ROUNDABOUT_EXIT_CCW = 46, TYPE_FERRY_BOAT_LEFT = 47, TYPE_FERRY_BOAT_RIGHT = 48, TYPE_FERRY_TRAIN_LEFT = 49, TYPE_FERRY_TRAIN_RIGHT = 50 } export declare enum Shape { UNKNOWN = 1, STRAIGHT = 2, /** Slight left turn, from 10 (included) to 45 (excluded) degrees. */ SLIGHT_LEFT = 3, /** Slight right turn, from 10 (included) to 45 (excluded) degrees. */ SLIGHT_RIGHT = 4, /** Regular left turn, from 45 (included) to 135 (excluded) degrees. */ NORMAL_LEFT = 5, /** Regular right turn, from 45 (included) to 135 (excluded) degrees. */ NORMAL_RIGHT = 6, /** Sharp left turn, from 135 (included) to 175 (excluded) degrees. */ SHARP_LEFT = 7, /** Sharp right turn, from 135 (included) to 175 (excluded) degrees. */ SHARP_RIGHT = 8, /** * A left turn onto the opposite side of the same street, from 175 (included) to 180 (included) degrees */ U_TURN_LEFT = 9, /** * A right turn onto the opposite side of the same street, from 175 (included) to 180 (included) degrees */ U_TURN_RIGHT = 10 } export {}; //# sourceMappingURL=NavigationStep.d.ts.map