UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

12 lines (11 loc) 491 B
import * as React from 'react'; import { ThreadModel } from '../../models'; type CurrentThreadListType = { currentThread: ThreadModel | undefined; }; type Props = React.PropsWithChildren<{ currentThread: ThreadModel | undefined; }>; declare const CurrentThreadListProvider: ({ children, currentThread }: Props) => React.JSX.Element; declare const useCurrentThreadListContext: () => CurrentThreadListType; export { CurrentThreadListProvider, useCurrentThreadListContext };