/** * Bytes → size with conventional binary units (B/KB/MB/GB) and a locale-correct number, e.g. "2.0 * KB" (en) / "2,0 KB" (vi). */ export declare function formatBytes(n: number | null | undefined, locale?: string): string; /** * ISO 4217 minor units → locale-formatted currency, e.g. (1995, "USD") → "$19.95" (en) / "19,95 $" * (vi). */ export declare function formatCurrency(amountMinor: number | null | undefined, currency: string, locale?: string): string; /** UUIDv7 / UUIDv4 → first 8 chars + ellipsis. Pair with a Tooltip showing full. */ export declare function shortId(id: string | null | undefined): string; /** Translate any backend error into something a user can act on. Falls back * to a generic message for non-Error objects (avoids dumping stack traces). */ export declare function humanError(err: unknown): string; export { formatDate, isFormatDateValue, formatCalendarDate, formatAppDate, formatAppDateTime, formatAppTime, formatAppDateLong, formatAppRelative, formatTimeOfDay, parseDateInput, normalizeHhmm, isValidHhmm, detectFormatDateKind, } from "./datetime/index.js"; export type { FormatDateOptions, FormatDatetimeOptions, FormatDateKind } from "./datetime/index.js";