import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Converts the file size to a readable format.
 * Usage:
 *
 * ```html
 *  {{ myData | bytes }} <!-- e.g. 100.1 MB -->
 * ```
 *
 * Default precision is set to 1 decimal place.
 * To change the precision, pass an additional argument to pipe.

 * ```html
 * {{ myData | bytes: 5 }} <!-- e.g. 100.12345 MB -->
 * ```
 */
export declare class BytesPipe implements PipeTransform {
    static bytes(bytes: number, precision: number): string | number;
    transform(value: number, precision?: number): string | number;
    static ɵfac: i0.ɵɵFactoryDeclaration<BytesPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<BytesPipe, "bytes", true>;
}
//# sourceMappingURL=bytes.pipe.d.ts.map