import { InjectionToken } from '@angular/core'; /** * Interface for components that can handle file uploads. * This interface breaks the circular dependency between * FileUploadHandlerDirective and ImageEditorComponent. */ export interface IImageUploadHandler { uploadHandler(fileUpload: any, event: { files: File[]; }): void; } /** * Injection token for ImageUploadHandler. * This allows the directive to inject the component without * creating a circular dependency. */ export declare const IMAGE_UPLOAD_HANDLER_TOKEN: InjectionToken;