9 lines
336 B
TypeScript
9 lines
336 B
TypeScript
/**
|
|
* Format bytes as a human readable string
|
|
*
|
|
* @param bytes - Number of bytes to format
|
|
* @param decimals - Number of decimal places to show (default 2)
|
|
* @returns Formatted string with appropriate unit suffix
|
|
*/
|
|
export declare function formatBytes(bytes: number, decimals?: number): string;
|
|
//# sourceMappingURL=bytes.d.ts.map
|