export interface IndexOptions { /** Reindex all repos regardless of git changes */ force?: boolean; /** Restrict to a single repo by name */ repo?: string | null; /** Override detected branch for all repos (e.g. "demo/orlando") */ branchOverride?: string; /** Ticket ID being worked on (e.g. "ENG-756") — stored in search_config + injected into prompts */ ticketId?: string; /** Short description of the ticket, injected into branch context prompts */ ticketDescription?: string; /** Skip all doc generation (equivalent to --skip-docs flag) */ skipDocs?: boolean; /** Force regeneration of all docs even if they already exist */ forceDocs?: boolean; /** * Skip the LLM-first discovery phase (Opus calls for directory classification * and feature discovery). Discovery runs by default when ANTHROPIC_API_KEY is set. * Pass --skip-discovery for fast re-indexes that don't need flow re-seeding. */ skipDiscovery?: boolean; /** * Run `git fetch --all` on each repo before branch signal collection. * Disabled by default to avoid surprising network I/O — pass `--fetch-remote` * on the CLI or set this to true when you need up-to-date remote branch data. */ fetchRemote?: boolean; /** * All repos configured in the workspace (not just the ones being indexed). * Used for incremental re-index: when --repo is specified and the workspace * has more repos, cached data for non-target repos is loaded so cross-service * card generation still sees all repos' data. */ allConfiguredRepos?: Array<{ name: string; path: string; }>; } interface RepoConfig { name: string; path: string; } export declare function indexRepos(repos: RepoConfig[], workspaceRoot: string, opts?: IndexOptions): Promise; export {}; //# sourceMappingURL=index-repos.d.ts.map