import { type Fs } from "webappwiz/system"; /** What RELEASE holds while a release is under way. */ export interface ReleaseState { /** The version everything goes out at. */ version: string; /** The steps that already landed, by the keys the release gave them. */ done: string[]; } /** What a `ReleaseFile` reads and writes through; the real filesystem by default. */ export interface ReleaseFileOptions { fs?: Fs; } /** Tracks the version and completed steps of an in-flight release in RELEASE. */ export declare class ReleaseFile { private readonly path; private readonly fs; constructor(root: string, opts?: ReleaseFileOptions); /** The release under way, or null when the previous one finished. */ read(): Promise; write(state: ReleaseState): Promise; clear(): Promise; }