import type { Big, BigSource } from 'big.js'; export type Rates = Record; export interface Options { /** * Currency from which you want to convert. */ from?: string; /** * Currency to which you want to convert. */ to?: string; /** * Base currency. */ base: string; /** * Object containing currency rates (for example from an API, such as Open Exchange Rates). */ rates: Rates; /** * Optional, Big.js constructor - useful to avoid floating point errors. */ BigJs?: new (value: BigSource) => Big; } //# sourceMappingURL=options.d.ts.map