import { WebsocketEventHandler } from "@webiny/app-websockets"; import { Notifications } from "@webiny/app-admin/features/notifications/abstractions.js"; import { FilesListCache } from "../../features/shared/abstractions.js"; /** * Reacts to the `fm.file.enrichment` websocket message (published as a `WebsocketEvent`): * patches the affected file in the shared list cache with the AI-generated tags and description * (cache-only — the data is already persisted server-side), then surfaces a success notification. */ declare class AiImageEnrichmentEventHandlerImpl implements WebsocketEventHandler.Interface { private filesListCache; private notifications; constructor(filesListCache: FilesListCache.Interface, notifications: Notifications.Interface); handle(event: WebsocketEventHandler.Event): Promise; } export declare const AiImageEnrichmentEventHandler: typeof AiImageEnrichmentEventHandlerImpl & { __abstraction: import("@webiny/di").Abstraction>; }; export {};