-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathBot.d.ts
More file actions
25 lines (25 loc) · 782 Bytes
/
Bot.d.ts
File metadata and controls
25 lines (25 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { BotMessageTheme, TextInputTheme, UserMessageTheme } from '@/features/bubble/types';
type messageType = 'apiMessage' | 'userMessage' | 'usermessagewaiting';
export type MessageType = {
message: string;
type: messageType;
sourceDocuments?: any;
};
export type BotProps = {
chatflowid: string;
apiHost?: string;
chatflowConfig?: Record<string, unknown>;
authToken?: string;
welcomeMessage?: string;
botMessage?: BotMessageTheme;
userMessage?: UserMessageTheme;
textInput?: TextInputTheme;
poweredByTextColor?: string;
badgeBackgroundColor?: string;
fontSize?: number;
};
export declare const Bot: (props: BotProps & {
class?: string;
}) => import("solid-js").JSX.Element;
export {};
//# sourceMappingURL=Bot.d.ts.map