import type { ArtifactStore, OutputArtifact } from "./types.js"; type FetchLike = (url: string, init?: RequestInit) => Promise; export interface GitHubArtifactStoreOptions { token: string; owner: string; repo: string; apiBaseUrl?: string; userAgent?: string; fetch?: FetchLike; mirror?: ArtifactStore; defaultIssueNumber?: number; defaultPullNumber?: number; defaultBaseBranch?: string; maxBodyChars?: number; } export interface GitHubArtifactPublishMetadata { publish?: boolean; owner?: string; repo?: string; issueNumber?: number; pullNumber?: number; head?: string; base?: string; title?: string; body?: string; } export declare class GitHubArtifactStore implements ArtifactStore { private readonly options; private readonly apiBaseUrl; private readonly fetchImpl; private readonly maxBodyChars; private readonly localArtifacts; constructor(options: GitHubArtifactStoreOptions); put(artifact: OutputArtifact): Promise; list(sessionId: string): Promise; private save; private publish; private createIssueComment; private createPullRequest; private request; } export {}; //# sourceMappingURL=github-artifacts.d.ts.map