import type { ToolContext } from "@strands-agents/sdk"; export type ThoughtEntry = { thought: string; thoughtNumber: number; totalThoughts: number; nextThoughtNeeded: boolean; isRevision: boolean; revisesThought: number | null; branchFromThought: number | null; branchId: string | null; needsMoreThoughts: boolean; }; export type ThinkingState = { history: ThoughtEntry[]; branches: string[]; }; export declare function readThinkingState(context: ToolContext): ThinkingState; export declare function writeThinkingState(context: ToolContext, state: ThinkingState): void;