import type { CrossRepoDb } from "./cross-db.js"; import type { WorkspaceConfig } from "./workspace-config.js"; export interface CrossIndexResult { contractsFound: number; edgesFound: number; staleProjects: string[]; errors: string[]; } /** * Index all cross-repo relationships in a workspace. * * 1. For each provider project, extract interface contracts (GraphQL schemas) * 2. For each consumer project, detect references to those contracts * 3. Populate cross_edges in the workspace DB */ export declare function crossIndex(config: WorkspaceConfig, db: CrossRepoDb): Promise;