/** * Types for Code Reasoning extension */ export interface ThoughtData { thought: string; thought_number: number; total_thoughts: number; next_thought_needed: boolean; is_revision?: boolean; revises_thought?: number; branch_from_thought?: number; branch_id?: string; needs_more_thoughts?: boolean; } export interface ValidatedThoughtData extends ThoughtData { is_revision: boolean; branch_from_thought: number | undefined; branch_id: string | undefined; needs_more_thoughts: boolean; } declare const MAX_THOUGHT_LENGTH = 20000; export interface ValidationError { field: string; message: string; } export declare function validateThoughtData(data: Partial): ValidationError[]; export declare function isValidThoughtData(data: Partial): boolean; export interface CrossFieldValidationError { message: string; } export declare function enforceCrossFieldRules(data: ThoughtData): CrossFieldValidationError[]; export declare function isValidCrossField(data: ThoughtData): boolean; export declare const MAX_THOUGHT_COUNT = 20; export { MAX_THOUGHT_LENGTH };