import { HotelbedsFormValue } from "../../order-product-compute"; import { TravelCloudClient, Cart } from "../../travelcloud"; export declare enum SearchBehavior { ManualTrigger = 0, AutoSearchOnValueChange = 1, AutoSearchOnFirstRender = 2 } export declare type HotelbedsResponse = { checkIn: string; checkOut: string; hotels: any[]; total: number; }; export declare function useHotelbeds({ formValue, client, cart, searchType }: { formValue: HotelbedsFormValue; client: TravelCloudClient; cart: Cart; searchType?: SearchBehavior; }): any; export declare const useRoomCharacteristicMap: (roomTypes: any, client: any) => {}; /** * Hotelbeds Utilities * todo: things below are probably not hooks, * please move to somewhere proper */ export declare const computeHotelbedsView: (hotel: any, cart: any) => any; export declare const mergeImageTypes: (images: any, imageTypes: any) => any; export declare const mergeFacilityTypes: (facilities: any, facilityTypes: any) => any; export declare const getRoomCharacteristicMap: (rooms: any, char: any) => {}; export declare const prepareCancellationPolicy: (rate: any, currency: any) => any; export declare const isFacilityAvailable: (f: any, checkIn: any, checkOut: any) => boolean; export declare const RateClassInfo: { NOR: string; NRF: string; PAQ: string; DIS: string; CAN: string; SEN: string; HNO: string; JUN: string; BAL: string; ROU: string; }; export declare const getLowestPrice: (rooms: any) => string; export declare const getHotelResultUtilities: { findStars: (text: any) => number; countNights: (checkIn: any, checkOut: any) => number; };