UNPKG

mongodb-chatbot-ui

Version:

UI React components for the MongoDB Chatbot Framework

12 lines (11 loc) 573 B
import { type RichLinkProps } from "@lg-chat/rich-links"; import { type References, SortReferences } from "./references"; import { MessageData } from "./services/conversations"; export type FormatReferencesOptions = { tck?: string; }; export declare function formatReferences(references: References, { tck }?: FormatReferencesOptions): RichLinkProps[]; export declare function getMessageLinks(messageData: MessageData, options?: { tck?: string; }): RichLinkProps[] | undefined; export declare function makePrioritizeCurrentMongoDbReferenceDomain(): SortReferences;