import { OutgoingLog } from '@/types'; import { Font, InputBlock, StartFrom } from '@indite.io/schemas'; export type BotProps = { source?: string; botName?: string | undefined; bot: string | any; isPreview?: boolean; resultId?: string; prefilledVariables?: Record; apiHost?: string; font?: Font; progressBarRef?: HTMLDivElement; startFrom?: StartFrom; sessionId?: string; onNewInputBlock?: (inputBlock: InputBlock) => void; onAnswer?: (answer: { message: string; blockId: string; }) => void; onInit?: () => void; onEnd?: () => void; onNewLogs?: (logs: OutgoingLog[]) => void; onChatStatePersisted?: (isEnabled: boolean) => void; }; type SharedValue = { value: T; getValue: () => T; updateValue: (newValue: T) => void; }; type RichTextChild = { text: string; }; type RichTextElement = { type: 'p'; children: RichTextChild[]; }; type MessageContent = { type: 'richText'; richText: RichTextElement[]; }; type Message = { id: string; type: 'text'; text: string; attachedFileUrls?: string[]; content: MessageContent; }; type Bot = { id: string; theme: Record; settings: Record; }; export type ConversationData = { sessionId: string; bot: Bot; messages: Message[]; input: InputBlock; }; export declare function createSharedValue(initialValue: T): SharedValue; export declare const sharedStringValue: SharedValue; export declare const Bot: (props: BotProps & { class?: string; isTemplateModalView?: boolean; source?: string; }) => import("solid-js").JSX.Element; export {}; //# sourceMappingURL=Bot.d.ts.map