/**
 * Formatting Utilities
 */
/**
 * Format a bigint amount with decimals to a human-readable string.
 *
 * @param amount - The raw amount as bigint (must be non-negative)
 * @param decimals - Number of decimal places (e.g., 18 for ETH)
 * @returns Formatted string (e.g., "1.5" for 1500000000000000000n with 18 decimals)
 *
 * @example
 * ```typescript
 * formatAmount(1500000000000000000n, 18); // "1.5"
 * formatAmount(0n, 18);                   // "0"
 * formatAmount(1n, 18);                   // "0.000000000000000001"
 * ```
 */
export declare function formatAmount(amount: bigint, decimals: number): string;
/**
 * Parse a human-readable amount string to bigint.
 *
 * Fractional digits beyond `decimals` are silently truncated (not rounded).
 *
 * @param amount - The amount as string (e.g., "1.5"). Must be a valid decimal number.
 * @param decimals - Number of decimal places (e.g., 18 for ETH)
 * @returns The raw amount as bigint
 * @throws If `amount` is empty or not a valid decimal string
 *
 * @example
 * ```typescript
 * parseAmount("1.5", 18);   // 1500000000000000000n
 * parseAmount("100", 6);    // 100000000n
 * ```
 */
export declare function parseAmount(amount: string, decimals: number): bigint;
//# sourceMappingURL=format.d.ts.map