UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

30 lines (29 loc) 1.07 kB
import { IconName } from "@components/shared/Icon"; import { StaysRoomRate } from "@duffel/api/types"; export declare const LOYALTY_PROGRAMS_NAME_MAP: { wyndham_rewards: string; choice_privileges: string; marriott_bonvoy: string; best_western_rewards: string; world_of_hyatt: string; hilton_honors: string; ihg_one_rewards: string; leaders_club: string; stash_rewards: string; omni_select_guest: string; i_prefer: string; accor_live_limitless: string; my_6: string; jumeirah_one: string; global_hotel_alliance_discovery: string; duffel_hotel_group_rewards: string; }; export declare const SOURCE_NAME_MAP: { bookingcom: string; expedia: string; priceline: string; travelport: string; duffel_hotel_group: string; }; export declare const getBoardTypeLabel: (boardType: StaysRoomRate["board_type"]) => "Room only, no meals" | "Breakfast included" | "Half board" | "Full board" | "All inclusive"; export declare const boardTypeIcon: (boardType: StaysRoomRate["board_type"]) => IconName;