import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { DomSanitizer, SafeUrl } from '@angular/platform-browser'; import { FileUploadStatus } from '../../uploader.interface'; import * as i0 from "@angular/core"; export declare class GalaxyImageUploadTileComponent implements OnChanges, OnInit { private sanitizer; class: string; /** Source image file for rendering to the tile. If missing, will not show edit or delete buttons */ file: File | Blob; url: string; /** Current upload status of the image */ status?: FileUploadStatus; /** If true, will display the delete button in the tile */ showDeleteButton?: boolean; /** If true, will display the edit button in the tile */ showEditButton?: boolean; noViewFileStatus: boolean; /** Emits when this tile's edit button has been clicked */ edit: EventEmitter; /** Emits when this tile's delete button has been clicked */ delete: EventEmitter; _url: SafeUrl; FileUploadStatus: typeof FileUploadStatus; constructor(sanitizer: DomSanitizer); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; /** * Converts an image file to a safe URL to be rendered into an image tag * @param file - The file to be rendered in the image tile */ convertFileToUrl(file: File | Blob): SafeUrl; /** * Triggered when the edit button has been clicked for this tile */ editClick(): void; /** * Triggered when the delete button has been clicked for this tile */ deleteClick(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }