Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ui.ts

25 lines955 Bytes

1// Barrel entry for the `@tanstack/ai-svelte/ui` subpath.
2export { createChatUI, getUIContext } from './chat-ui/create-ui'
3export { createChatHook } from './chat-ui/create-chat-hook'
4export type {
5 ChatUIComponents,
6 ChatUIFactoryConfig,
7 ChatUIHost,
8 ChatUIQueueItem,
9 InputProps,
10 InterruptProps,
11 LayoutProps,
12 MessageProps,
13 PartProps,
14 QueueProps,
15 ToolProps,
16 UIDescriptor,
17} from './chat-ui/create-ui'
18export { default as UIChat } from './chat-ui/ui-chat.svelte'
19export { default as UIProvider } from './chat-ui/ui-provider.svelte'
20export { default as UIMessages } from './chat-ui/ui-messages.svelte'
21export { default as UIMessage } from './chat-ui/ui-message.svelte'
22export { default as UIPart } from './chat-ui/ui-part.svelte'
23export { default as UIInterrupts } from './chat-ui/ui-interrupts.svelte'
24export { default as UIInterrupt } from './chat-ui/ui-interrupt.svelte'
25export { default as UIQueue } from './chat-ui/ui-queue.svelte'