/** * 将字节转换成友好格式,如Bytes,KB,MB * * @param {number} bytes 字节数 * @returns {string} 格式化后的字符串 * @example * * bytesToSize(10000) * // => '9.8 KB' */ export declare function bytesToSize(bytes: number): string;