import { ListCurrenciesRequest as ListCurrenciesRequest$1, ListCurrenciesResponse as ListCurrenciesResponse$1, ConvertCurrencyRequest as ConvertCurrencyRequest$1, ConvertCurrencyResponse as ConvertCurrencyResponse$1, ConversionRateRequest as ConversionRateRequest$1, ConversionRateResponse as ConversionRateResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface CurrencyRate { } interface ListCurrenciesRequest { } interface ListCurrenciesResponse { /** Supported currencies */ currencies?: Currency[]; } interface Currency { /** * Currency code. * @format CURRENCY */ code?: string; /** * Currency symbol. * @maxLength 10 */ symbol?: string; } interface ConvertCurrencyRequest { /** * Amounts to convert. * @minSize 1 * @maxSize 100 */ amounts?: DecimalValue[]; /** * Original currency. * @format CURRENCY */ from: string; /** * Target currency. * @format CURRENCY */ to: string; } interface DecimalValue { /** Value without decimals (e.g., for 10.95 value will be 1095). */ value?: string; /** Decimal places to apply (e.g., for 10.95 decimal_places will be 2). */ decimalPlaces?: number; } interface ConvertCurrencyResponse { /** Converted amounts. */ amounts?: DecimalValue[]; /** Date and time the conversion rate was last updated. */ rateTimestamp?: Date | null; } interface ConversionRateRequest { /** * Original currency. * @format CURRENCY */ from: string; /** * Target currency. * @format CURRENCY */ to: string; } interface ConversionRateResponse { /** Conversion rate between 2 currencies. */ rate?: DecimalValue; /** Date and time the conversion rate was last updated. */ rateTimestamp?: Date | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function listCurrencies(): __PublicMethodMetaInfo<'GET', {}, ListCurrenciesRequest$1, ListCurrenciesRequest, ListCurrenciesResponse$1, ListCurrenciesResponse>; declare function convertCurrency(): __PublicMethodMetaInfo<'POST', { from: string; to: string; }, ConvertCurrencyRequest$1, ConvertCurrencyRequest, ConvertCurrencyResponse$1, ConvertCurrencyResponse>; declare function getConversionRate(): __PublicMethodMetaInfo<'GET', { from: string; to: string; }, ConversionRateRequest$1, ConversionRateRequest, ConversionRateResponse$1, ConversionRateResponse>; export { type ConversionRateRequest as ConversionRateRequestOriginal, type ConversionRateResponse as ConversionRateResponseOriginal, type ConvertCurrencyRequest as ConvertCurrencyRequestOriginal, type ConvertCurrencyResponse as ConvertCurrencyResponseOriginal, type Currency as CurrencyOriginal, type CurrencyRate as CurrencyRateOriginal, type DecimalValue as DecimalValueOriginal, type ListCurrenciesRequest as ListCurrenciesRequestOriginal, type ListCurrenciesResponse as ListCurrenciesResponseOriginal, type __PublicMethodMetaInfo, convertCurrency, getConversionRate, listCurrencies };