export interface HostFingerprint { id: string; cpu: string; cores: number; totalMemGb: number; } export declare function currentHostFingerprint(): HostFingerprint; export declare function isHostFingerprint(value: unknown): value is HostFingerprint; export interface HostStateMutation { result: TResult; changed: boolean; } export interface HostStateStoreOptions { filePath: string; version: number; fingerprint?: () => HostFingerprint; readOnly?: boolean; parseHost(value: unknown, hostId: string): THostData | undefined; } /** Shared lock-safe, atomic substrate for versioned state partitioned by host fingerprint. */ export declare class HostStateStore { private readonly filePath; private readonly version; private readonly fingerprint; private readonly readOnly; private readonly parseHost; constructor(options: HostStateStoreOptions); private currentHost; getHost(hostId?: string): THostData | undefined; getAllHosts(): THostData[]; mutateCurrentHost(create: (host: HostFingerprint) => THostData, mutate: (data: THostData, host: HostFingerprint) => HostStateMutation): TResult; private load; } //# sourceMappingURL=host-state-store.d.ts.map