import type { Harness } from '@mastra/core/harness'; /** * Wires MastraCode-owned OM settings into harness thread events so they persist * per-thread and new threads inherit the most recent value. * * This is intentionally implemented in mastracode rather than core: these * settings are mastracode-specific OM concepts, so persistence stays scoped to * the host. */ export declare function attachOMThreadStatePersistence(harness: Harness>): void; /** * Eagerly restores MastraCode-owned OM settings for the currently-selected * thread. Called once at TUI startup after the initial thread is selected, * since the subscription set up later misses the startup `thread_changed` event. */ export declare function restoreOMThreadStateForCurrentThread(harness: Harness>): Promise; //# sourceMappingURL=thread-caveman-state.d.ts.map