@assistant-ui/react
Version:
React components for AI chat.
12 lines • 517 B
TypeScript
import type { Unsubscribe } from "../../types/Unsubscribe";
export type ThreadViewportState = Readonly<{
isAtBottom: boolean;
scrollToBottom: () => void;
onScrollToBottom: (callback: () => void) => Unsubscribe;
}>;
export declare const makeThreadViewportStore: () => import("zustand").UseBoundStore<import("zustand").StoreApi<Readonly<{
isAtBottom: boolean;
scrollToBottom: () => void;
onScrollToBottom: (callback: () => void) => Unsubscribe;
}>>>;
//# sourceMappingURL=ThreadViewport.d.ts.map