/**
 * Provider and credential auto-detection for init flow
 *
 * Detects git provider from .git/config remote URL and
 * checks for existing credentials (gh auth, .env, env vars).
 *
 * Part of 0200-init-two-phase-redesign
 */
export interface ProviderInfo {
    provider: 'github' | 'ado' | 'bitbucket';
    owner?: string;
    repo?: string;
    organization?: string;
}
/**
 * Detect git provider from .git/config remote URL
 *
 * Supports GitHub, Azure DevOps, and Bitbucket remotes (HTTPS + SSH).
 */
export declare function detectProvider(targetDir: string): ProviderInfo | null;
/**
 * Detect existing credentials for a given provider
 *
 * Priority: gh auth token → .env → process.env
 * Returns the token string or null if not found.
 */
export declare function detectCredentials(targetDir: string, provider: string): string | null;
//# sourceMappingURL=provider-detection.d.ts.map