@assistant-ui/react
Version:
React components for AI chat.
13 lines • 940 B
TypeScript
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
declare const useThreadListNew: () => () => void;
export declare namespace ThreadListPrimitiveNew {
type Element = ActionButtonElement;
type Props = ActionButtonProps<typeof useThreadListNew>;
}
export declare const ThreadListPrimitiveNew: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
} & {
asChild?: boolean;
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
export {};
//# sourceMappingURL=ThreadListNew.d.ts.map