/** * Configuration detection utilities * Detects GitHub, JIRA, and Azure DevOps configurations */ import type { GitHubRemote, JiraConfig, ADOConfig } from './types.js'; /** * Detect GitHub repository owner and name from git remote * Parses .git/config to extract GitHub remote URL * * @param targetDir - Project directory to check * @returns GitHub remote info or null if not detected */ export declare function detectGitHubRemote(targetDir: string): GitHubRemote | null; /** * Detect JIRA configuration from environment or .env file * * @param targetDir - Project directory to check * @returns JIRA config or null if not detected */ export declare function detectJiraConfig(targetDir: string): JiraConfig | null; /** * Detect Azure DevOps configuration from config.json + .env * * NEW (v0.28.x): ADO config is split: * - PAT (secret) → .env as AZURE_DEVOPS_PAT * - org/project/teams/areas (non-secret) → config.json sync profiles * * CRITICAL FIX (2025-12-01): Aggregate ALL ADO profiles into projects array * Bug: Only one profile was being read, causing multi-project selection to be ignored * Fix: Find all ADO profiles and build projects array from each profile's config * * @param targetDir - Project directory to check * @returns ADO config or null if not detected */ export declare function detectADOConfig(targetDir: string): ADOConfig | null; /** * Detect all available external tool configurations * * @param targetDir - Project directory to check * @returns Object with detected configurations */ export declare function detectAllConfigs(targetDir: string): { github: GitHubRemote | null; jira: JiraConfig | null; ado: ADOConfig | null; availableTools: string[]; }; //# sourceMappingURL=config-detection.d.ts.map