/** * Entity query routes (FEAT-402 slice 2, AC-5): * GET /entities?q=&limit= — autocomplete (name substring match) * GET /entities/:id/memories — every memory linked to this entity * * Both routes sit behind the same Bearer-auth preHandler as every other * non-public route (src/server/app.ts) — neither is in the /health, * /version, /dashboard allowlist. */ import type { FastifyInstance } from 'fastify'; import type { DB } from '../../storage/db.js'; export declare function entitiesRoute(db: DB): (app: FastifyInstance) => Promise;