/** * Update-flow HTTP routes — thin adapters around `UpdateHandlers` * (`createUpdateHandlers(service)`). The /update/apply route publishes * `update-available` for the post-apply state when the new version * differs from the running one. * * Mount path: `/update/*` (matches docs/cadre-host.md). */ import type { FastifyInstance } from 'fastify'; import type { UpdateHandlers } from '../../update/index.js'; import type { EventBus } from '../events/bus.js'; export interface UpdateRoutesOptions { handlers: UpdateHandlers; events: EventBus; } export declare function registerUpdateRoutes(app: FastifyInstance, opts: UpdateRoutesOptions): void;