import { Result } from "../../../util/result.js"; import { SemVer } from "../../../util/semver.js"; import { URL } from "../../../util/url.js"; import { SimpleGit } from "simple-git"; /** * Lists the Semantic Versioning (SemVer) releases for a given git remote URL. * Releases are identified from remote references (tags or branches) * followed by a valid SemVer string. * * @param url The URL of the remote git repository. * @returns A sorted array (from oldest to newest) of SemVer releases. */ export declare function Versions(git: SimpleGit, listCache: Map, listVersionsCache: Map, remote: URL): Promise>; /** * Lists all tags and branches for a given git remote URL. * * @param url The URL of the remote git repository. * @returns Unordered list of tags and branches. */ export declare function RawVersions(git: SimpleGit, cache: Map, url: URL): Promise>;