@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.
23 lines (22 loc) • 918 B
TypeScript
import * as React$1 from "react";
//#region ../react/src/support/components/typing-indicator.d.ts
type TypingParticipantType = "visitor" | "team_member" | "ai";
type TypingParticipant = {
id: string;
type: TypingParticipantType;
};
type TypingIndicatorProps = React$1.HTMLAttributes<HTMLDivElement> & {
participants: TypingParticipant[];
availableAIAgents?: AvailableAIAgent[];
availableHumanAgents?: AvailableHumanAgent[];
withAvatars?: boolean;
};
declare const TypingIndicator: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & {
participants: TypingParticipant[];
availableAIAgents?: AvailableAIAgent[];
availableHumanAgents?: AvailableHumanAgent[];
withAvatars?: boolean;
} & React$1.RefAttributes<HTMLDivElement>>;
//#endregion
export { TypingIndicator, TypingIndicatorProps, TypingParticipant, TypingParticipantType };
//# sourceMappingURL=typing-indicator.d.ts.map