@assistant-ui/react
Version:
React components for AI chat.
10 lines • 392 B
TypeScript
import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne";
type ThreadIfFilters = {
empty: boolean | undefined;
running: boolean | undefined;
disabled: boolean | undefined;
};
export type UseThreadIfProps = RequireAtLeastOne<ThreadIfFilters>;
export declare const useThreadIf: (props: UseThreadIfProps) => boolean;
export {};
//# sourceMappingURL=useThreadIf.d.ts.map