/** * Retrieves num with suffix k(thousands) precise to given decimal places. * * @param num The number to format. * @param precision The number of decimal places to include. * @returns The formatted number. */ declare const kFormatter: (num: number, precision?: number) => string | number; /** * Convert bytes to a human-readable string representation. * * @param bytes The number of bytes to convert. * @returns The human-readable representation of bytes. * @throws {Error} If bytes is negative or too large. */ declare const formatBytes: (bytes: number) => string; /** * Split text over multiple lines based on the card width. * * @param text Text to split. * @param width Available wrap width in px. * @param fontSize Font size in px. * @param maxLines Maximum number of lines. * @returns Array of lines. */ declare const wrapTextMultiline: (text: string, width: number, fontSize: number, maxLines?: number) => Array; export { kFormatter, formatBytes, wrapTextMultiline }; //# sourceMappingURL=fmt.d.ts.map