/** * Options controlling {@link formatAssetAmount} output. */ export interface IFormatAssetAmountOptions { /** * Number of fractional digits to render. Defaults to the asset's natural * precision (6 for joule). */ precision?: number; /** * BCP-47 locale tag for digit grouping / decimal separator. When omitted, * a plain non-localized representation is produced (no thousands grouping, * `.` decimal separator). */ locale?: string; } /** * Format an asset microunit amount as a human-readable string. * * - For `assetId === 'joule'` the default format is `'1.234567 J'`. * - For unknown assetIds the function falls back to `' '` * raw and never throws. * * No business logic SHALL parse formatted strings back into amounts; parsing * occurs only on validated DTO inputs. * * @see asset-account-store-generalization spec, Requirements 8.1–8.4. */ export declare function formatAssetAmount(amount: bigint, assetId: string, opts?: IFormatAssetAmountOptions): string; //# sourceMappingURL=formatAssetAmount.d.ts.map