import { Editor } from 'grapesjs'; import { ChatManager } from '../chatManager'; import { AiChatOptions } from '../types'; import { AiChatEmptyStateProps } from './AiChatEmptyState'; import { AiChatErrorProps } from './AiChatError'; import { AiChatHeaderProps } from './AiChatHeader'; import { AiChatInputProps } from './AiChatInput/index'; import { AiChatLoadingStateProps } from './AiChatLoadingState'; import { AiChatMessageProps } from './AiChatMessage'; import { AiChatMessagesStatusProps } from './AiChatMessagesStatus'; import { AiChatPanelProps } from './AiChatPanel'; export type { AiChatEmptyStateProps } from './AiChatEmptyState'; export type { AiChatErrorProps } from './AiChatError'; export type { AiChatHeaderProps } from './AiChatHeader'; export type { AiChatInputProps } from './AiChatInput/index'; export type { AiChatMessageProps } from './AiChatMessage'; export type { AiChatMessagesProps } from './AiChatMessages'; export type { AiChatMessagesStatusProps } from './AiChatMessagesStatus'; type AiChatLayoutComponentProps = Omit & { type: Type; }; export interface AiChatLayoutComponentsRegistryEntries { aiChatPanel: Omit, 'pluginOptions'>; aiChatHeader: AiChatLayoutComponentProps; aiChatError: AiChatLayoutComponentProps; aiChatLoadingState: AiChatLayoutComponentProps; aiChatInput: AiChatLayoutComponentProps; aiChatEmptyState: AiChatLayoutComponentProps; aiChatMessage: AiChatLayoutComponentProps; aiChatMessagesStatus: AiChatLayoutComponentProps; } declare module '@studio/editor/src/types' { interface CustomLayoutComponentsRegistry extends AiChatLayoutComponentsRegistryEntries { } } declare module '@grapesjs/studio-sdk' { interface CustomLayoutComponentsRegistry extends AiChatLayoutComponentsRegistryEntries { } } export declare const registerLayoutComponents: (editor: Editor, options: AiChatOptions, chatManager: ChatManager) => () => void;