import type { IndexDatabase } from '../../../db/database-facade.js'; export interface MountResolverResult { routeMounts: Map; clientBaseUrl: string | null; } /** * Resolve Express mount prefixes and client baseURLs from the DB's import/usage graph. * * Server-side mount detection: * 1. Query orphan module-scope method calls (e.g., `app.use('/api/auth', authRoutes)`) * 2. Read source lines and regex-parse for `.use('/prefix', routerVar)` * 3. Follow the symbol's definition → file to get the target route file * 4. Compose nested mounts via BFS * * Client-side baseURL detection: * 1. Query files importing 'axios' or containing baseURL patterns * 2. Read those files, regex-parse for `baseURL: '/api'` * 3. Extract the path component */ export declare function resolveMounts(db: IndexDatabase): Promise; //# sourceMappingURL=mount-resolver.d.ts.map