/** * Format bytes as human-readable text. * NOTE: Kudos to https://stackoverflow.com/users/65387/mpen for providing this function * * @param bytes Size in bytes * @param si Switch between metric (SI) units (powers of 1000) or binary (IEC) units (powers of 1024) * @param dp Number of decimal places to display. * * @return Formatted string. */ export declare function formatFileSize(bytes: number, dp?: number, si?: boolean): string;