import type { Release } from '../types/index.js'; export declare class GitHubRateLimitError extends Error { constructor(message: string); } export declare class GitHubDownloadError extends Error { constructor(message: string); } export declare function getGitHubTokenGuidance(): string; export declare function fetchReleases(token?: string): Promise; export declare function getLatestRelease(token?: string): Promise; export declare function downloadRelease(url: string, dest: string, token?: string): Promise; export declare function getAssetUrl(release: Release): string | null;