import { Editor } from 'grapesjs'; import { AiChatOptions, AiChatTools, ChatState } from './types'; export declare class ChatManager { readonly editor: Editor; readonly options: AiChatOptions; readonly chatStates: Map; currentChatId: string; tools: AiChatTools; constructor(editor: Editor, options: AiChatOptions); get currentChatState(): ChatState; getChat(id: string): ChatState | undefined; setCurrentChat(id: string): void; removeChat(id: string): void; private createChat; }