import { FileInput } from '../../../models/IFileInput'; export declare class ImageLoaderModalComponent { constructor(); private bodyPortalOutlet; /** * Callback that will receive the selected file list * and execute the function * * @internal */ onSave: (files: FileInput[]) => void; clear: () => void; files: FileInput[]; /** * on file drop handler */ onFileDropped($event: any): void; /** * handle file from browsing */ fileBrowseHandler(files: any): void; /** * Delete file from files list * @param index (File index) */ deleteFile(index: number): void; /** * on save button click */ save(): void; /** * Convert Files list to normal array list * @param files (Files List) */ prepareFilesList(files: Array): Promise; getSource(file: File): Promise; /** * format bytes * @param bytes (File size in bytes) * @param decimals (Decimals point) */ formatBytes(bytes: any, decimals: any): string; }