export interface ThinkingDataInMessage { cot_id?: string; cot_summary?: string; reasoning_opaque?: string; reasoning_text?: string; reasoning_content?: string; reasoning?: string; } export interface RawThinkingDelta { cot_id?: string; cot_summary?: string; reasoning_opaque?: string; reasoning_text?: string; reasoning_content?: string; reasoning?: string; thinking?: string; signature?: string; } export type ThinkingDelta = { text?: string | string[]; id: string; metadata?: { readonly [key: string]: any; }; } | { text?: string | string[]; id?: string; metadata: { readonly [key: string]: any; }; } | { text: string | string[]; id?: string; metadata?: { readonly [key: string]: any; }; }; export type EncryptedThinkingDelta = { id: string; text?: string; encrypted: string; /** * True only for genuine Anthropic `redacted_thinking` blocks, where `encrypted` * holds the opaque `data` blob. For regular thinking blocks `encrypted` holds the * signature and this is false/undefined, even when the thinking text is empty * (e.g. `display: "omitted"` or pruned under token budget). */ redacted?: boolean; }; export declare function isEncryptedThinkingDelta(delta: ThinkingDelta | EncryptedThinkingDelta): delta is EncryptedThinkingDelta; export interface ThinkingData { id: string; text: string | string[]; metadata?: { [key: string]: any; }; tokens?: number; encrypted?: string; /** * True only for genuine Anthropic `redacted_thinking` blocks, where `encrypted` * holds the opaque `data` blob. For regular thinking blocks `encrypted` holds the * signature and this is false/undefined, even when the thinking text is empty. */ redacted?: boolean; } //# sourceMappingURL=thinking.d.ts.map