import type * as vscode from 'vscode'; import { Remote, Repository } from '../vscode/git'; export declare function parseGitRemotes(raw: string): Remote[]; export interface GitUriParams { path: string; ref: string; submoduleOf?: string; } export interface GitUriOptions { scheme?: string; replaceFileExtension?: boolean; submoduleOf?: string; } export declare function toGitUri(uri: vscode.Uri, ref: string, options?: GitUriOptions): vscode.Uri; /** * Returns the configured upstream remote of `repository` (e.g. the `origin` whose URL `git push` would target), * or `undefined` when the current HEAD has no upstream or the remote can't be resolved. */ export declare function getUpstreamRemote(repository: Repository): Remote | undefined; //# sourceMappingURL=utils.d.ts.map