import type { FileSystem } from "../ports/filesystem.js"; export declare const STATE_FILENAME = "state.md"; export declare class StateSaveResult { readonly ok: boolean; readonly reason?: string | undefined; private constructor(); static success(): StateSaveResult; static rejected(reason: string): StateSaveResult; } export declare class StateLoadResult { readonly content: string | null; private constructor(); static found(content: string): StateLoadResult; static empty(): StateLoadResult; } export declare function stateSave(content: string, opts: { stateDir: string; statePath: string; fs: FileSystem; }): Promise; export declare function stateLoad(opts: { statePath: string; fs: FileSystem; }): Promise; //# sourceMappingURL=state.d.ts.map