UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

8 lines 364 B
import { AgentSession } from '@sage-bionetworks/synapse-types'; export type ChatState = { sendChat: (message: string) => void; pendingMessage: string | null; chatJobIds: string[]; }; export declare function useChatState(agentSession?: AgentSession, onChatResponse?: (responseText: string) => void): ChatState; //# sourceMappingURL=useChatState.d.ts.map