@botonic/react
Version:
Build Chatbots using React
11 lines (10 loc) • 376 B
TypeScript
import { WebchatMessage } from '../../index-types';
import { WebchatState } from '../context';
interface UseTyping {
webchatState: WebchatState;
updateTyping: (typing: boolean) => void;
updateMessage: (message: WebchatMessage) => void;
host: any;
}
export declare function useTyping({ webchatState, updateTyping, updateMessage, }: UseTyping): void;
export {};