UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

14 lines (13 loc) 722 B
import { BookingPackageFlight } from '@qite/tide-client/build/types'; import { FlightFilterOptions, GroupedFlights } from '../../types'; export declare const buildGroupedFlights: ( outwardFlights: BookingPackageFlight[] | undefined, returnFlights: BookingPackageFlight[] | undefined ) => GroupedFlights[]; export declare const buildFilterOptions: ( outwardFlights: BookingPackageFlight[] | undefined, returnFlights: BookingPackageFlight[] | undefined, translations: any ) => FlightFilterOptions | undefined; export declare const filterGroupedFlights: (groups: GroupedFlights[], filterOptions: FlightFilterOptions | undefined) => GroupedFlights[]; export declare const formatMinutes: (minutes: number) => string;