/** * Print a key-value card. */ export declare function printCard(title: string, fields: [string, string | undefined][]): void; /** * Print a simple table with headers. * Uses ANSI-stripped lengths for column width calculation so chalk colors don't break alignment. */ export declare function printTable(headers: string[], rows: string[][]): void; /** * Truncate an address for display. */ export declare function shortAddr(addr: string | undefined | null, chars?: number): string; /** * Format a balance value — no scientific notation, proper sig figs for tiny values. */ export declare function fmtBalance(value: string | number | undefined | null, symbol: string): string; /** * Format a native token value with USD equivalent in parentheses. * e.g. "0.027 ETH (~$57.71)" or "0.412 BNB (~$247.20)" */ export declare function fmtNativeWithUsd(value: string | number | undefined | null, symbol: string, priceUsd: number | null | undefined): string; /** * Format a USD value. */ export declare function fmtUsd(value: string | undefined | null): string; /** * Format a date string. */ export declare function fmtDate(dateStr: string | undefined | null): string; /** * Print a success message. */ export declare function success(msg: string): void; /** * Print an error message to stderr. */ export declare function error(msg: string): void; /** * Print a warning message. */ export declare function warn(msg: string): void;