@ai-sdk/svelte
Version:
[Svelte](https://svelte.dev/) UI components for the [AI SDK](https://ai-sdk.dev/docs):
19 lines • 1.08 kB
TypeScript
import type { FlexibleSchema, InferSchema } from '@ai-sdk/provider-utils';
import { StructuredObject, type StructuredObjectOptions } from './structured-object.svelte.js';
export { Chat, type CreateUIMessage, type UIMessage } from './chat.svelte.js';
export { Completion, type CompletionOptions } from './completion.svelte.js';
export { createAIContext } from './context-provider.js';
export { StructuredObject, type StructuredObjectOptions, } from './structured-object.svelte.js';
/**
* @deprecated Use `StructuredObject` instead.
*/
export declare const Experimental_StructuredObject: typeof StructuredObject;
/**
* @deprecated Use `StructuredObject` instead.
*/
export type Experimental_StructuredObject<SCHEMA extends FlexibleSchema, RESULT = InferSchema<SCHEMA>, INPUT = unknown> = StructuredObject<SCHEMA, RESULT, INPUT>;
/**
* @deprecated Use `StructuredObjectOptions` instead.
*/
export type Experimental_StructuredObjectOptions<SCHEMA extends FlexibleSchema, RESULT = InferSchema<SCHEMA>> = StructuredObjectOptions<SCHEMA, RESULT>;
//# sourceMappingURL=index.d.ts.map