import type { RemoteArtifact, RemoteBuildCache } from '@rnef/tools'; import { type GitHubRepoDetails } from './config.js'; export declare class GitHubBuildCache implements RemoteBuildCache { name: string; repoDetails: GitHubRepoDetails | null; constructor(config?: { owner: string; repository: string; token: string; }); getRepoDetails(): Promise; list({ artifactName, limit, }: { artifactName?: string; limit?: number; }): Promise; download({ artifactName, }: { artifactName: string; }): Promise; delete({ artifactName, limit, skipLatest, }: { artifactName: string; limit?: number; skipLatest?: boolean; }): Promise; upload(): Promise Buffer), contentType?: string | undefined) => Response; }>; } export declare const providerGitHub: (options?: { owner: string; repository: string; token: string; }) => () => RemoteBuildCache;