@hashbrownai/react
Version:
React components for Hashbrown AI
13 lines (12 loc) • 1.38 kB
TypeScript
export { exposeComponent, type ComponentPropSchema, type ExposedComponent, } from './expose-component.fn';
export { HashbrownProvider, type HashbrownProviderOptions, } from './hashbrown-provider';
export { useChat, type UseChatOptions, type UseChatResult, } from './hooks/use-chat';
export { useCompletion, type UseCompletionOptions, type UseCompletionResult, } from './hooks/use-completion';
export { useRuntime, type UseRuntimeOptions } from './hooks/use-runtime';
export { useRuntimeFunction } from './hooks/use-runtime-function';
export { useStructuredChat, type UseStructuredChatOptions, type UseStructuredChatResult, } from './hooks/use-structured-chat';
export { useStructuredCompletion, type UseStructuredCompletionOptions, type UseStructuredCompletionResult, } from './hooks/use-structured-completion';
export { useTool, type ToolOptions, type ToolOptionsWithInput, type ToolOptionsWithoutInput, type ToolOptionsWithUnknownSchema, } from './hooks/use-tool';
export { useToolJavaScript, type UseToolJavaScriptOptions, } from './hooks/use-tool-javascript';
export { useUiChat, type UiAssistantMessage, type UiChatMessage, type UiChatOptions, type UiChatSchema, type UiChatSchemaComponent, type UiErrorMessage, type UiUserMessage, } from './hooks/use-ui-chat';
export { useUiCompletion, type UiCompletionOptions, type UseUiCompletionResult, } from './hooks/use-ui-completion';