import { PipeTransform } from '@angular/core'; import { TranslationService } from '../core/services/translation/translation.service'; import * as i0 from "@angular/core"; /** * transforms file size into translated appropriate units * * ### In template example: * ~~~html * *

{{ file.sizeInBytes | FileSize}}

* ~~~ * @title * File Size * * @example * ... * constructor(... private FileSizePipe: fileSizePiple ...){ * const sizeString = this.fileSizePiple.transform(sizeInBytes); * } * ... */ export declare class FileSizePipe implements PipeTransform { private translation; constructor(translation: TranslationService); /** * * @param paramByte Size in Bytes * @optional @param decimals Decimals to show * @returns translated size string */ transform(paramByte: any, decimals?: number): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }