/** * Supervisor routes: the per-factory supervisor session address and the * deterministic health check the supervisor page pins above its transcript. * * Mounted from {@link WorkItemRoutes} so they share its tenant + project * resolution: a caller can only address a supervisor for a project their org * owns. */ import type { ApiRoute } from '@mastra/core/server'; import type { BoardRegistry } from '../boards/index.js'; import type { WorkItemsStorage } from '../storage/domains/work-items/base.js'; interface SupervisorRouteDependencies { workItems: WorkItemsStorage; boards: BoardRegistry; resolveProject(context: unknown): Promise<{ orgId: string; userId: string; factoryProjectId: string; } | { response: Response; }>; } export declare function buildSupervisorRoutes(dependencies: SupervisorRouteDependencies): ApiRoute[]; export {}; //# sourceMappingURL=supervisor.d.ts.map