import type { Airlines } from "../../records/Airline"; import type { BrandLanguages } from "../../records/BrandLanguage"; import type { Brands } from "../../records/Brand"; import type { Continents } from "../../records/Continents"; import type { Countries } from "../../records/Country"; import type { Currencies } from "../../records/Currency"; import type { Fetched } from "../../records/Fetched"; import type { LangInfos } from "../../records/LangInfo"; import type { IntlsRaw } from "../../records/Intl"; import type { Module } from "./getCurrencies"; export declare type Data = { airlines: Airlines; brandLanguages: BrandLanguages; brands: Brands; continents: Continents; countries: Countries; currencies: Currencies; languages: LangInfos; intls: IntlsRaw; orbits: IntlsRaw; }; export declare const data: Data; export declare type GetFetchedOptions = { langId: string; brandId: string; }; export declare const getFetched: ({ langId, brandId }: GetFetchedOptions) => Fetched; export declare type LoadOptions = { dataPath: string; module?: Module; currenciesUrl?: string; }; export declare const load: ({ dataPath, module, currenciesUrl }: LoadOptions) => Promise; declare type Input = { module?: Module; url?: string; onError?: (err: Error) => void; }; export declare const startRefreshingCurrencies: ({ module, url, onError }: Input) => () => void; export {};