import type { IsoPrice } from '../../domain.objects/IsoPrice'; import { IsoPriceExponent } from '../../domain.objects/IsoPriceExponent'; import type { IsoPriceShape } from '../../domain.objects/IsoPriceShape'; /** * .what = converts any IsoPrice format to IsoPriceShape * .why = enables uniform representation as shape for arithmetic operations * * @example * asIsoPriceShape('USD 50.37') * // => { amount: 5037n, currency: 'USD' } * * @example * asIsoPriceShape({ amount: 5037, currency: 'USD' }) * // => { amount: 5037n, currency: 'USD' } // number → bigint * * @example * asIsoPriceShape('$50.37') * // => { amount: 5037n, currency: 'USD' } */ export declare const asIsoPriceShape: (input: IsoPrice | { amount: number | bigint; currency: TCurrency; exponent?: IsoPriceExponent; } | string, options?: { currency?: TCurrency; }) => IsoPriceShape;