@assistant-ui/react
Version:
Open-source TypeScript/React library for building production-grade AI chat experiences
17 lines • 614 B
TypeScript
import type { FC, PropsWithChildren } from "react";
import type { RequireAtLeastOne } from "../../utils/RequireAtLeastOne.js";
type ThreadIfFilters = {
empty: boolean | undefined;
running: boolean | undefined;
disabled: boolean | undefined;
};
type UseThreadIfProps = RequireAtLeastOne<ThreadIfFilters>;
export declare namespace ThreadPrimitiveIf {
type Props = PropsWithChildren<UseThreadIfProps>;
}
/**
* @deprecated Use `<AuiIf condition={(s) => s.thread...} />` instead.
*/
export declare const ThreadPrimitiveIf: FC<ThreadPrimitiveIf.Props>;
export {};
//# sourceMappingURL=ThreadIf.d.ts.map