import { type Ps } from "webappwiz/system"; import type { Github } from "./github.js"; /** GitHub releases, via the `gh` CLI. */ /** What a `CliGithub` spawns through; the real process by default. */ export interface CliGithubOptions { ps?: Ps; } export declare class CliGithub implements Github { private readonly ps; constructor(opts?: CliGithubOptions); /** * Publishes release notes for `tag`, or leaves the existing ones alone, * asking for a login first if gh has nobody. */ release(tag: string): Promise; /** * The tag of the release GitHub marks latest. Reading asks for no login, * since a status check is no time to stop for a browser. */ latest(): Promise; private login; }