UNPKG

@selleo/chatbot-client

Version:

Client that can be integrated with a backend created with openai

10 lines (8 loc) 359 B
import { MessageType } from '../../../../../../src/types'; export declare const useMessages: (threadId: string, token: string | undefined) => { messages: MessageType[]; createMessage: (content: string) => Promise<void>; message: string; setMessage: import('react').Dispatch<import('react').SetStateAction<string>>; isLoading: boolean; };