@cossistant/next
Version:
Next.js-ready SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.
15 lines • 653 B
TypeScript
//#region ../react/src/hooks/use-conversation-typing.d.ts
type ConversationTypingParticipant = TypingEntry;
type UseConversationTypingOptions = {
excludeVisitorId?: string | null;
excludeUserId?: string | null;
excludeAiAgentId?: string | null;
};
/**
* Selects typing participants for a conversation while letting consumers omit
* their own identities.
*/
declare function useConversationTyping(conversationId: string | null | undefined, options?: UseConversationTypingOptions): ConversationTypingParticipant[];
//#endregion
export { ConversationTypingParticipant, useConversationTyping };
//# sourceMappingURL=use-conversation-typing.d.ts.map