export declare const languages: string[]; export declare const defaultLanguage = "nl-BE"; export declare const formatPrice: (price: number, currencyCode: string, locale?: string) => string; import { DateStruct } from '@qite/tide-client'; import { DepartureRange } from '../types'; import { SortByType } from '../../search-results/types'; /** * Returns the translations for the given language, optionally deep-merged with * a partial overrides object (e.g. a host-supplied custom translation file). * * `overrides` only needs to contain the keys the host wants to replace — all * other keys fall back to the built-in translations. The built-in translations * are not mutated. */ export declare const getTranslations: (language: string, overrides?: any) => any; export declare const locales: { 'ar-SA': import("date-fns").Locale; 'da-DK': import("date-fns").Locale; 'de-DE': import("date-fns").Locale; 'en-GB': import("date-fns").Locale; 'es-ES': import("date-fns").Locale; 'fr-BE': import("date-fns").Locale; 'fr-FR': import("date-fns").Locale; 'is-IS': import("date-fns").Locale; 'it-IT': import("date-fns").Locale; 'nl-BE': import("date-fns").Locale; 'nl-NL': import("date-fns").Locale; 'no-NO': import("date-fns").Locale; 'pl-PL': import("date-fns").Locale; 'pt-PT': import("date-fns").Locale; 'sv-SE': import("date-fns").Locale; 'ja-JP': import("date-fns").Locale; }; export declare function getLocale(code: string): import("date-fns").Locale; export declare const getPriceDifferenceText: (price: number, currencyCode: string) => string; export declare function format(text: string, args: any[]): string; export declare const formatTime: (date: Date) => string; export declare const formatDate: (date: Date) => string; export declare const dateToDateStruct: (date: Date | undefined) => DateStruct; export declare const timeFromDateTime: (dateTime: Date | undefined) => string; export declare const longFormatDate: (dateTime: Date | undefined, language: string) => string; export declare const durationTicksInHoursString: (durationInTicks: number) => string; export declare const durationInTicksInMinutes: (durationInTicks: number) => number; export declare const minutesToHoursString: (totalMinutes: number) => string; export declare const rangeFromDateTimeInMinutes: (dateTime: Date | undefined) => DepartureRange; export declare const calculateNights: (fromDate: Date, toDate: Date) => number; export declare const calculateDays: (fromDate: Date, toDate: Date) => number; export declare const getSortingName: (translations: any, sortByType: SortByType) => string; export declare const findSortByType: (sortByTypes: SortByType[], sortKey: string, direction: string) => SortByType; export declare const getDatesBetween: (fromDate: string, toDate: string) => Date[]; export declare const getDateOnlyTime: (date?: string | Date | null) => number;