/** * Dashboard integration — mounts the dashboard UI and API routes * directly on the daemon's Fastify instance. * * Static files are served at /dashboard/ and API routes at /dashboard/api/*. * The dashboard routes proxy to the daemon's own /api/v1/* endpoints. * * Path resolution supports both monorepo and flat npm package layouts: * Monorepo: packages/daemon/dist/ → ../../dashboard/dist/ and ../../dashboard/public/ * Flat: dist/daemon/ → ../dashboard/ and ../dashboard/public/ */ import type { FastifyInstance } from 'fastify'; interface DashboardContext { apiKey: string; allowedKeys: Record; } export declare function mountDashboard(app: FastifyInstance, ctx: DashboardContext): Promise; export {}; //# sourceMappingURL=dashboard.d.ts.map