/** * Reads the stored text for `key`, or null when unset, without parsing it. Throws on a * store failure; lets a caller tell a failed read from unparseable content. */ export declare function getRuntimeStateText(key: string): string | null; /** * Reads a JSON value for `key`, or null when unset. */ export declare function getRuntimeStateJson(key: string): T | null; /** * Upserts a JSON-serializable value for `key` without touching other keys. */ export declare function setRuntimeStateJson(key: string, value: unknown): void; /** * Runs `fn` inside BEGIN IMMEDIATE so cross-process writers serialize safely. */ export declare function withImmediateTransaction(fn: () => T): T; /** Visible for integration tests that need an isolated database file. */ export declare function resetRuntimeStateDbForTests(): void; //# sourceMappingURL=sdk-runtime-state-db.d.ts.map