//#region src/client-helpers/lang.d.ts /** * Convert bytes to a human-readable format. * * @example * ```ts * formatBytes(1000) // "1 kB" * formatBytes(1000, { decimalPlaces: 2 }) // "1.00 kB" * formatBytes(1024, { si: false }) // "1 KiB" * ``` */ declare function formatBytes(bytes: number, options?: { /** * Use metric units, aka powers of 1000. * * @default true */ si?: boolean; /** * Number of decimal places to show. * * @default 0 */ decimalPlaces?: number; }): string; //#endregion export { formatBytes };