/** * Where everything we keep between commands lives. The OS temp directory is the * one place every platform we support has, and losing what's in there costs a * command re-run at worst. */ export declare const STORE_PATH: string; /** * A file of the store, e.g. the versions determined by * `library version --deferred`, or a changelog we don't want to generate twice. * * It's the same file for every run on a machine, so two releases of the same * repository can't be in flight at the same time. */ export declare class StoredFile { #private; readonly path: string; /** * @param name Where the file is inside the store, e.g. `changelogs/pkg@1.0.0.tmp`. */ constructor(name: string); exists(): boolean; read(): string; write(content: string): void; readStream(): import("fs").ReadStream; writeStream(): import("fs").WriteStream; remove(): void; } //# sourceMappingURL=store.d.ts.map