/** * GET /dashboard/api — API reference page (FEAT-410 follow-up). * * Swagger-lite, deliberately: a hand-maintained route table with method, * path, auth, and a one-line description. GET endpoints are plain links * (the dashboard cookie authenticates them, so clicking IS the test); * mutating endpoints show a copy-pasteable curl with a $MEMORY_BEARER * placeholder. No OpenAPI spec, no JS, no external assets — a full * Swagger UI would be overengineering for a single-operator local daemon. * * Auth is the shared `checkDashboardAuth` helper (dashboard-auth.ts) — Bearer * header, the HttpOnly `astramem_dash` cookie bootstrapped by * src/server/routes/dashboard.ts, or (when active) devNoAuth's loopback-only * bypass. esc() remains duplicated locally by design. */ import type { FastifyInstance } from 'fastify'; export declare function dashboardApiRoute(token: string, devNoAuthActive?: boolean): (app: FastifyInstance) => Promise;