export function recordReleaseAttempt( api: (path: string, body?: { ref: string; sha: string }) => Promise, source: string, parent: string, decision: "abandon" | "publish", ): Promise; export function inspectGithubRelease( api: (path: string) => Promise, tag: string, source: string, ): Promise; export function verifyFrozenReleaseBranch( api: (path: string) => Promise, branch: string, source: string, ): Promise; export function requireCurrentMainCheckpoint( run: (program: string, args: string[]) => Promise, api: (path: string) => Promise, source: string, ): Promise; export function githubApi( repository: string, token: string, ): ( path: string, body?: Record, method?: string, ) => Promise; export function retireAbandonedRelease( run: (program: string, args: string[]) => Promise, api: ( path: string, body?: Record, method?: string, ) => Promise, repository: string, source: string, pr: { number: number; labels: { name: string }[] }, ): Promise;