@assistant-ui/react
Version:
TypeScript/React library for AI Chat
13 lines • 524 B
TypeScript
import { AssistantCloud } from "assistant-cloud";
import { RemoteThreadListAdapter } from "../types";
type ThreadData = {
externalId: string | undefined;
};
type CloudThreadListAdapterOptions = {
cloud?: AssistantCloud | undefined;
create?: (() => Promise<ThreadData>) | undefined;
delete?: ((threadId: string) => Promise<void>) | undefined;
};
export declare const useCloudThreadListAdapter: (adapter: CloudThreadListAdapterOptions) => RemoteThreadListAdapter;
export {};
//# sourceMappingURL=cloud.d.ts.map