import type { AgentUpdateEvent } from './types.js'; import type { NpmAutoUpdateService } from '../../services/npm-auto-update.js'; /** * Act on an operator-initiated update-available event. * * Logs receipt, then — if an npm auto-update service is available — invokes the * manual, gate-bypassing `triggerUpdate()` and logs the outcome. When no * service is wired (e.g. the daemon was started without one), logs a clear * warning instead. Never throws: errors from `triggerUpdate()` are caught and * logged so the WebSocket loop is not disrupted. * * @param event - The update-available event from the dispatcher. * @param npmAutoUpdateService - The agent's npm auto-update service, or null/ * undefined when none was provided to the daemon. */ export declare function handleUpdateEvent(event: AgentUpdateEvent, npmAutoUpdateService: NpmAutoUpdateService | null | undefined): Promise; //# sourceMappingURL=update-handler.d.ts.map