import axios from 'axios'; /** * The GitHub repo whose Releases carry the standalone binaries + `SHA256SUMS`. * The public mirror is the canonical download host; overridable via * `HULA_RELEASE_REPO` for testing or a future repo move. Mirrors the repo that * `install.sh` resolves against so both channels stay in lock-step. */ export declare const RELEASE_REPO: string; /** * Map the host OS/arch to the release asset name the binaries are published * under (platform triples, not the tag). Returns null for an unsupported * combination so the caller can abort cleanly without clobbering the binary. */ export declare function standaloneAssetName(platform?: NodeJS.Platform, arch?: string): string | null; export interface ReleaseAsset { name: string; browser_download_url: string; } export interface GithubRelease { tag_name: string; prerelease: boolean; draft: boolean; assets: ReleaseAsset[]; } /** * Resolve the newest stable, `hub-launch@`-prefixed Release from * {@link RELEASE_REPO}, ignoring drafts, prereleases (`-rc.N`), and any non-CLI * tags. The GitHub API returns releases newest-first. Returns null on any error * or when none qualify. */ export declare function resolveLatestStandaloneRelease(opts?: { fetch?: typeof axios.get; timeoutMs?: number; }): Promise; /** The CLI version a `hub-launch@X.Y.Z` release tag names. */ export declare function releaseVersion(release: GithubRelease): string; /** Whether `release` carries this platform's binary and the `SHA256SUMS` manifest. */ export declare function hasStandaloneAssets(release: GithubRelease, assetName?: string | null): boolean; //# sourceMappingURL=standalone-release.d.ts.map