/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Checks if a directory is within a git repository hosted on GitHub. * @returns true if the directory is in a git repository with a github.com remote, false otherwise */ export declare const isGitHubRepository: () => boolean; /** * getGitRepoRoot returns the root directory of the git repository. * @returns the path to the root of the git repo. * @throws error if the exec command fails. */ export declare const getGitRepoRoot: () => string; /** * getLatestGitHubRelease returns the release tag as a string. * @returns string of the release tag (e.g. "v1.2.3"). */ export declare const getLatestGitHubRelease: (proxy?: string) => Promise; /** * getGitHubRepoInfo returns the owner and repository for a GitHub repo. * @returns the owner and repository of the github repo. * @throws error if the exec command fails. */ export declare function getGitHubRepoInfo(): { owner: string; repo: string; };