/** * Agent Profile route: * GET /agents/:agent/profile — read-time synthesized "what has this agent * learned" profile (top lessons, recent decisions, corrections, counts). * Receipt shape is built by server/queries/agent-profile.ts, shared with the * MCP agent_profile tool (mcp/server.ts) so both transports stay in sync. * Bearer auth is enforced by the existing global preHandler (app.ts) — no * route-local auth here, same as why.ts/digest.ts. */ import type { FastifyInstance } from 'fastify'; import type { DB } from '../../storage/db.js'; export declare function agentsRoute(db: DB): (app: FastifyInstance) => Promise;