/** * GitLabRemote represents a parsed git remote URL that could potentially point to a GitLab project. */ export interface GitLabRemote { host: string; /** * Namespace is the group(s) or user to whom the project belongs: https://docs.gitlab.com/ee/api/projects.html#get-single-project * * e.g. `gitlab-org/security` in the `gitlab-org/security/gitlab-vscode-extension` project */ namespace: string; /** * Path is the "project slug": https://docs.gitlab.com/ee/api/projects.html#get-single-project * * e.g. `gitlab-vscode-extension` in the `gitlab-org/gitlab-vscode-extension` project */ projectPath: string; /** * Namespace with path is the full project identifier: https://docs.gitlab.com/ee/api/projects.html#get-single-project * * e.g. `gitlab-org/gitlab-vscode-extension` */ namespaceWithPath: string; } export declare function parseGitLabRemote(remote: string, instanceUrl: string): GitLabRemote | undefined;