import { type FabricThinking } from "../thinking.js"; import { ActorStoreReadError } from "./store-read.js"; export interface ActorSessionBindingRecord { model?: string; thinking?: FabricThinking; updatedAt: number; } /** * Session-scoped model and thinking overrides for actors, shared on disk by * every store for the same session. * * Only a missing file reads as empty. When the file exists but cannot be read * or parsed, mutations throw ActorStoreReadError and leave the file alone, * get() keeps answering from the last good read, and readError reports the * failure until a later read succeeds. Entries that fail validation are kept * as written unless a mutation replaces that actor's binding. */ export declare class ActorBindingStore { #private; readonly sessionId: string; readonly filePath: string | undefined; constructor(sessionId: string, root: string | undefined); /** The error from the latest failed read, or undefined after a good read. */ get readError(): ActorStoreReadError | undefined; get(actorId: string): ActorSessionBindingRecord | undefined; setModel(actorId: string, model: string | undefined): Promise; setThinking(actorId: string, thinking: FabricThinking | undefined): Promise; delete(actorId: string): Promise; } //# sourceMappingURL=binding-store.d.ts.map