import { type Ps } from "webappwiz/system"; import type { Git } from "./git.js"; /** What a `CliGit` spawns through; the real process by default. */ export interface CliGitOptions { ps?: Ps; } /** Speaks git by spawning the CLI. */ export declare class CliGit implements Git { private readonly root; private readonly ps; constructor(root: string, opts?: CliGitOptions); clean(): Promise; branch(): Promise; head(): Promise; /** Where releases go out from. */ defaultBranch(): Promise; /** Commits every tracked change. A clean tree is already committed, so it passes. */ commitAll(message: string): Promise; tag(tag: string): Promise; push(ref: string): Promise; remoteTags(pattern: string): Promise; private run; private out; }