@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
7 lines (6 loc) • 714 B
TypeScript
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;