synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
8 lines • 364 B
TypeScript
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