/// import { type GatewayStateStore, type StoredState } from '../ports/gateway-state.js'; export interface KeyringReader { getSecret(key: string): Promise; } export interface FileStoreOptions { readonly stateDir: string; readonly keyring: KeyringReader; readonly dekKey?: string; readonly fsOps?: Partial; } /** Seal committed state for `gateway-state.enc` (unit-testable envelope). */ export declare const sealStateEnvelope: (dekHex: string, state: StoredState) => string; export declare class FileGatewayStateStore implements GatewayStateStore { private readonly stateDir; private readonly keyring; private readonly dekKey; private readonly fsOps?; private transaction; private dekCache; constructor(options: FileStoreOptions); private ensureDir; private dek; private quarantine; private readRaw; load(): Promise; private markInitialized; private sweepDeadLockArtifacts; private acquireLock; private releaseLock; compareAndSet(expectedRevision: number, next: StoredState): Promise<{ revision: number; }>; claimWriter(): Promise<() => Promise>; private commit; inventory(): Promise<{ files: string[]; }>; } //# sourceMappingURL=gateway-state-store.d.ts.map