/** * GET /dashboard/search — search debug page (FEAT-410 wave 2, SLICE-410-6). * * Plain GET `
` (query in the URL) rendering the per-candidate fusion * score table from SLICE-410-3's `debug: true` search() path, plus the * current fuse.ts weights (src/config/config.ts `search` defaults). Zero JS. * * 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. HTML escaping is likewise duplicated locally rather than importing * dashboard-html.ts's `esc()` (SLICE-410-6 scope: this file + its tests only). */ import type { FastifyInstance } from 'fastify'; import type { DB } from '../../storage/db.js'; import type { EmbedProvider } from '../../contracts/index.js'; export declare function dashboardSearchRoute(db: DB, embed: EmbedProvider, token: string, devNoAuthActive?: boolean): (app: FastifyInstance) => Promise;