/** * Repository Bulk Discovery Helper * * Provides functionality to bulk-discover and filter GitHub repositories * during the SpecWeave init flow, optimizing repository configuration * for users with many repositories. * * Features: * - Bulk import all repos from owner/organization * - Pattern matching (starts-with, ends-with, contains) * - Regex matching (advanced filtering) * - Preview and confirmation before auto-populating configs */ import { Octokit } from '@octokit/rest'; export interface DiscoveredRepo { name: string; full_name: string; owner: string; description: string | null; private: boolean; updated_at: string; } export interface BulkDiscoveryResult { repositories: DiscoveredRepo[]; strategy: 'manual' | 'all-repos' | 'pattern' | 'regex' | 'greenfield'; pattern?: string; source?: string; } export interface DiscoveryOptions { /** Skip validation against expectedCount (for discovery-first flows) */ skipValidation?: boolean; } /** * Main bulk discovery flow with ability to go back and change strategy */ export declare function discoverRepositories(octokit: Octokit, owner: string, isOrg: boolean, expectedCount: number, options?: DiscoveryOptions): Promise; //# sourceMappingURL=repo-bulk-discovery.d.ts.map