@ai-sdk/svelte
Version:
[Svelte](https://svelte.dev/) UI components for the [AI SDK](https://ai-sdk.dev/docs):
14 lines • 698 B
TypeScript
import { SvelteMap } from 'svelte/reactivity';
import { KeyedStore } from './utils.svelte.js';
declare class CompletionStore {
completions: SvelteMap<string, string>;
data: import("@ai-sdk/provider").JSONValue[];
loading: boolean;
error: Error | undefined;
}
export declare class KeyedCompletionStore extends KeyedStore<CompletionStore> {
constructor(value?: Iterable<readonly [string, CompletionStore]> | null | undefined);
}
export declare const hasCompletionContext: () => boolean, getCompletionContext: () => KeyedCompletionStore, setCompletionContext: (value: KeyedCompletionStore) => KeyedCompletionStore;
export {};
//# sourceMappingURL=completion-context.svelte.d.ts.map