export interface GitRemoteInfo { host: string; projectPath: string; protocol: 'ssh' | 'https'; url: string; remoteName: string; } export interface ParseGitRemoteOptions { remoteName?: string; repoPath?: string; } export declare function parseRemoteUrl(url: string): Omit | null; export declare function parseGitConfig(content: string): Map; export declare function selectBestRemote(remotes: Map, preferredRemote?: string): { name: string; url: string; } | null; export declare function parseGitRemote(options?: ParseGitRemoteOptions): Promise; export declare function listGitRemotes(repoPath?: string): Promise;