/** * Lemma API v2 — route index (Lane C) * * Mounts every /v2 route, including ./scrub (owned by Lane F — its handler is * framework-agnostic by design, see routes/scrub.ts's header comment; this file * does the Express wiring on Lane F's behalf). * * /v2/scrub is mounted BEFORE the auth middleware: its openapi.yaml operation * declares `security: []` (stateless, no tenant to scope it to), so registering * it ahead of `authenticateV2` — Express matches routes in registration order — * is what keeps it public while every other /v2 route stays behind a bearer key. * * Ownership: Lane C. */ import type { Express } from 'express'; import { type AuthenticateV2Deps } from '../../identity/authenticateV2'; import { type MemoriesDeps } from './memories'; import { type RecallDeps } from './recall'; import { type VerifyDeps } from './verify'; import { type UsageDeps } from './usage'; export type MountDeps = AuthenticateV2Deps & MemoriesDeps & RecallDeps & VerifyDeps & UsageDeps; export declare function mountRoutes(app: Express, deps: MountDeps): void; export default mountRoutes; //# sourceMappingURL=index.d.ts.map