import type { FlexibleSchema } from '@ai-sdk/provider-utils'; import { useObject, type UseObjectHelpers, type UseObjectOptions, } from './use-object'; export * from './use-chat'; export { Chat } from './chat.react'; export * from './use-completion'; export * from './use-object'; export * from './use-realtime'; export * from './mcp-apps'; // deprecated aliases // note: declared here (instead of export aliases) so that the `@deprecated` // tags are preserved in the bundled type declarations /** * @deprecated Use `useObject` instead. */ export const experimental_useObject = useObject; /** * @deprecated Use `UseObjectOptions` instead. */ export type Experimental_UseObjectOptions< SCHEMA extends FlexibleSchema, RESULT, > = UseObjectOptions; /** * @deprecated Use `UseObjectHelpers` instead. */ export type Experimental_UseObjectHelpers = UseObjectHelpers< RESULT, INPUT >;