/** * Session digest route (KF-C): "what I learned this session". * GET /sessions/:id/digest * Derived at read time from memories(session_id); no stored digest state. * status=pending while a distill job for this session is queued/running. * Digest shape is built by server/queries/provenance.ts, shared with the * MCP session_digest tool (mcp/server.ts) so both transports stay in sync. */ import type { FastifyInstance } from 'fastify'; import type { DB } from '../../storage/db.js'; export declare function digestRoute(db: DB): (app: FastifyInstance) => Promise;