import { SetCurrenciesRequest as SetCurrenciesRequest$1, SetCurrenciesResponse as SetCurrenciesResponse$1, GetCurrenciesRequest as GetCurrenciesRequest$1, GetCurrenciesResponse as GetCurrenciesResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; /** * A currency that can be displayed on a site. * Site currencies control which currencies visitors can view prices in. * When a currency is enabled for a site, prices are automatically converted from their original currency using up-to-date exchange rates. */ interface SiteCurrency { /** * Three-letter currency code, in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. * @maxLength 3 * @format CURRENCY */ code?: string; } interface SetCurrenciesRequest { /** * List of currencies to enable for the site. * This list replaces any previously configured currencies. * Pass an empty array to disable currency conversion. * @maxSize 156 */ currencies?: SiteCurrency[]; } interface SetCurrenciesResponse { } interface GetCurrenciesRequest { } interface GetCurrenciesResponse { /** List of currencies currently enabled for the site. */ currencies?: SiteCurrency[]; } interface SetCheckoutCurrenciesRequest { /** * The new checkout currency list * @maxSize 156 */ currencies?: SiteCurrency[]; } interface SetCheckoutCurrenciesResponse { } interface GetCheckoutCurrenciesRequest { } interface GetCheckoutCurrenciesResponse { /** Currencies supported in checkout */ currencies?: SiteCurrency[]; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function setCurrencies(): __PublicMethodMetaInfo<'PUT', {}, SetCurrenciesRequest$1, SetCurrenciesRequest, SetCurrenciesResponse$1, SetCurrenciesResponse>; declare function getCurrencies(): __PublicMethodMetaInfo<'GET', {}, GetCurrenciesRequest$1, GetCurrenciesRequest, GetCurrenciesResponse$1, GetCurrenciesResponse>; export { type GetCheckoutCurrenciesRequest as GetCheckoutCurrenciesRequestOriginal, type GetCheckoutCurrenciesResponse as GetCheckoutCurrenciesResponseOriginal, type GetCurrenciesRequest as GetCurrenciesRequestOriginal, type GetCurrenciesResponse as GetCurrenciesResponseOriginal, type SetCheckoutCurrenciesRequest as SetCheckoutCurrenciesRequestOriginal, type SetCheckoutCurrenciesResponse as SetCheckoutCurrenciesResponseOriginal, type SetCurrenciesRequest as SetCurrenciesRequestOriginal, type SetCurrenciesResponse as SetCurrenciesResponseOriginal, type SiteCurrency as SiteCurrencyOriginal, type __PublicMethodMetaInfo, getCurrencies, setCurrencies };