UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

29 lines (28 loc) 767 B
/** * @internal * @param currencyCode - * Get divider amount */ export declare const getDivider: (currencyCode: string) => number; /** * @internal * @param currencyCode - * Returns whether a CURRENCY CODE is valid */ export declare const isValidCurrencyCode: (currencyCode: string) => boolean; /** * @internal */ export declare const getCurrencyCode: (currencyCode: string) => string; /** * @internal */ export declare const getDecimalAmount: (amount: number | string, currencyCode: string) => number; /** * @internal */ export declare const getLocalisedAmount: (amount: number, locale: string, currencyCode: string, options?: {}) => string; /** * @internal */ export declare const getLocalisedPercentage: (percent: number, locale: string) => string;