import { type Owner, type OwnerState, type StateStore } from './types.js'; /** The directory must be outside tool access; permissions alone are not a sandbox. */ export declare class FileStateStore implements StateStore { #private; readonly owner: Owner; constructor(options: { owner: Owner; directory: string; policyVersion: string; }); /** A crash releases this kernel lock; it never expires while a writer is alive. */ withGovernanceLock(action: () => Promise, signal?: AbortSignal): Promise; read(signal?: AbortSignal): Promise; transact(mutation: (state: OwnerState) => T, signal?: AbortSignal): Promise; }