import { default as currencies } from './currencies'; export type CurrencyCode = keyof typeof currencies; type MoneyConditionalProps = { type: "highPrecision"; preciseAmount: number; } | { type: "centPrecision"; preciseAmount?: never; }; export type MoneyValue = { currencyCode: CurrencyCode; centAmount: number; fractionDigits: number; } & MoneyConditionalProps; export type MoneyInputValue = { amount: string; currencyCode: CurrencyCode | ""; }; export declare const parseStringToMoneyValue: (rawAmount: string, locale: string, currencyCode?: CurrencyCode | "") => MoneyValue | null; export declare const createNullMoneyValue: (currencyCode: CurrencyCode) => MoneyValue; export declare const extractDecimalAmount: (moneyValue: MoneyValue) => number; export {};