import { HashFunctions } from "./hashFunctions.types"; import { TAddressTypes } from "./net.types"; import { TBaseValidator, TChecksumValidator } from "./validators.types"; export declare type TCurrencyName = string; export declare type TCurrencySymbol = string; export declare type TCurrencyExpectedLength = 26; export declare type TCurrencyHashFunction = HashFunctions; export declare type TCurrencyRegexp = RegExp; export declare type TCurrency = { name: TCurrencyName; symbol: TCurrencySymbol; validator: TBaseValidator | TChecksumValidator; addressTypes?: TAddressTypes; iAddressTypes?: TAddressTypes; expectedLength?: TCurrencyExpectedLength; hashFunction?: TCurrencyHashFunction; regex?: TCurrencyRegexp; }; export interface ICurrencies { getByNameOrSymbol(currencyNameOrSymbol: TCurrencyName | TCurrencySymbol): TCurrency; CURRENCIES: TCurrency[]; }