import type { DevToolsSys } from "../../types";
export interface GitInfo {
    gitRoot: string;
    recommendedRoot?: string;
    originUrl: string;
    repoProvider: "github" | "selfHostedGithub" | "gitlab" | "bitbucket" | "azure" | "custom";
    repoProtocol: "https" | "ssh";
    repoFullName: string;
    repoOwner: string;
    repoName: string;
    isPrivate: boolean;
    projectName: string;
}
/**
 * Detect git repository information
 */
export declare function detectGitInfo(sys: DevToolsSys): Promise<GitInfo | undefined>;
/**
 * Display git info in a user-friendly format
 */
export declare function formatGitInfo(info: GitInfo): string[];
