import { OnChanges, SimpleChanges } from '@angular/core'; import { TranslateService } from '@ngx-translate/core'; import * as i0 from "@angular/core"; export declare class GalaxyUploaderConstraintsTextComponent implements OnChanges { private translate; class: string; /** Max number of files that can be uploaded */ maxFiles: number; /** Max size of files that can be uploaded */ maxFileSize: number; /** Accept list for file types that can be uploaded */ accept: string; /** If provided, will be used instead of generated text */ text?: string; acceptDisplay: string; fileSizeDisplay: string; constructor(translate: TranslateService); ngOnChanges(changes: SimpleChanges): void; /** * Given the accept list, break it down into a series of display values * * @param accept - accept list provided to the component */ private convertAcceptToDisplay; /** * Convert a uniique file specifier into the right display format. * IE) image/* -> images, .pdf -> PDF * * @param fileType - The file type specifier to convert */ private specifierToDisplay; /** * Convert the max file size constraint to a display value * IE) 12 B, 7 KB, 100 MB * * @param maxSize - Max files size allowed for upload */ private convertSizeToDisplay; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }