@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.
16 lines • 610 B
TypeScript
//#region ../react/src/hooks/private/use-default-messages.d.ts
type UseDefaultMessagesParams = {
conversationId: string;
};
/**
* Mirrors the provider-configured default messages into timeline items so
* that welcome content renders immediately while the backend conversation is
* still being created. Agent fallbacks are resolved against available humans
* and AI agents exposed by the provider context.
*/
declare function useDefaultMessages({
conversationId
}: UseDefaultMessagesParams): TimelineItem[];
//#endregion
export { useDefaultMessages };
//# sourceMappingURL=use-default-messages.d.ts.map