diff --git a/core/index.d.ts b/core/index.d.ts index 9fac83018..39a920499 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -417,23 +417,10 @@ interface ToolCallState { output?: ContextItem[]; } -export type TipTapJsonContent = { - type?: string; - attrs?: Record; - content?: TipTapJsonContent[]; - marks?: { - type: string; - attrs?: Record; - [key: string]: any; - }[]; - text?: string; - [key: string]: any; -}; - export interface ChatHistoryItem { message: ChatMessage; contextItems: ContextItemWithId[]; - editorState?: TipTapJsonContent; + editorState?: any; modifiers?: InputModifiers; promptLogs?: PromptLog[]; toolCallState?: ToolCallState;