@duffel/components
Version:
Component library to build your travel product with Duffel.
11 lines (10 loc) • 364 B
TypeScript
import { SeatMap } from "@duffel/api/types";
/**
*
* Returns the currency of the first service of the given seat maps.
*
* @param seatMaps[] Array of seat maps
* @returns A string representing the currency of the seat maps in the offer.
*/
declare const getCurrencyForSeatMaps: (seatMaps: SeatMap[]) => string | undefined;
export { getCurrencyForSeatMaps };