import { PipeTransform } from '@angular/core'; declare type unit = 'bytes' | 'KB' | 'MB' | 'GB' | 'TB' | 'PB'; declare type unitPrecisionMap = { [u in unit]: number; }; export declare class FileSizePipe implements PipeTransform { private readonly units; transform(bytes?: number, precision?: number | unitPrecisionMap): string; } export {};