- Name
parts- Kind
- property
- Type
readonly ["root", "accordion-trigger", "parts"]- Requirement
- required
DocsAPI referenceHeadlessassistant-chain-of-thought
assistant-chain-of-thought headless API
The core connector and vanilla mount are always visible. Use the framework choice to inspect native composition, props, outputs, context and hooks for the selected adapter.
@grassroot/ui-headless-core/assistant-chain-of-thought
Core connector and vanilla API
export declare const assistantChainOfThoughtAnatomy: { readonly scope: "assistant-chain-of-thought"; readonly parts: readonly ["root", "accordion-trigger", "parts"];};partsreadonly ["root", "accordion-trigger", "parts"]scope"assistant-chain-of-thought"- Name
scope- Kind
- property
- Type
"assistant-chain-of-thought"- Requirement
- required
AssistantChainOfThoughtApi
interfaceinterface AssistantChainOfThoughtApi { rootProps(): PartProps; triggerProps(): PartProps; partsProps(): PartProps; readonly open: boolean;}openbooleanpartsProps() => PartPropsrootProps() => PartPropstriggerProps() => PartProps- Name
open- Kind
- property
- Type
boolean- Requirement
- required
- Name
partsProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
rootProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
triggerProps- Kind
- method
- Type
() => PartProps- Requirement
- required
type AssistantChainOfThoughtPart = (typeof assistantChainOfThoughtAnatomy.parts)[number];connectAssistantChainOfThought
functiondeclare function connectAssistantChainOfThought(collapsible: CollapsibleApi, scope: PartScope): AssistantChainOfThoughtApi;collapsibleCollapsibleApiscopePartScopereturnAssistantChainOfThoughtApi- Name
collapsible- Kind
- parameter
- Type
CollapsibleApi- Requirement
- required
- Name
scope- Kind
- parameter
- Type
PartScope- Requirement
- required
- Name
return- Kind
- return value
- Type
AssistantChainOfThoughtApi- Requirement
- n/a
Framework adapters
Each panel keeps its adapter's public vocabulary. React compound exports, Vue composables, standalone Angular declarations, Svelte components, and Solid hooks stay native to their framework.
React imports
import { AccordionTrigger, ChainOfThought, Parts, Root, Trigger } from "@grassroot/ui-headless-react/assistant-chain-of-thought";Vue imports
<script setup lang="ts">import { AccordionTrigger, AssistantChainOfThought, Parts, Root, Trigger } from "@grassroot/ui-headless-vue/assistant-chain-of-thought";</script>Angular imports
import { GrAssistantB3Surface, GrAssistantChainOfThoughtParts, GrAssistantChainOfThoughtRoot, GrAssistantChainOfThoughtTrigger } from "@grassroot/ui-headless-angular/assistant-chain-of-thought";Svelte imports
<script lang="ts"> import { AccordionTrigger, AssistantChainOfThought, Parts, Root, Trigger } from "@grassroot/ui-headless-svelte/assistant-chain-of-thought";</script>Solid imports
import { AccordionTrigger, AssistantChainOfThought, Parts, Root, Trigger } from "@grassroot/ui-headless-solid/assistant-chain-of-thought";@grassroot/ui-headless-react/assistant-chain-of-thought
React adapter
AccordionTrigger
valueexport declare const AccordionTrigger: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AssistantChainOfThoughtChangeDetail
interfaceinterface AssistantChainOfThoughtChangeDetail { readonly open: boolean; readonly reason: CollapsibleChangeReason;}openbooleanreasonCollapsibleChangeReason- Name
open- Kind
- property
- Type
boolean- Requirement
- required
- Name
reason- Kind
- property
- Type
CollapsibleChangeReason- Requirement
- required
export declare const AssistantChainOfThoughtContext: import("react").Context<AssistantChainOfThoughtContextValue | null>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
AssistantChainOfThoughtContextValue
interfaceinterface AssistantChainOfThoughtContextValue { readonly connector: AssistantChainOfThoughtApi; readonly scope: PartScope;}connectorAssistantChainOfThoughtApiscopePartScope- Name
connector- Kind
- property
- Type
AssistantChainOfThoughtApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
AssistantChainOfThoughtRootProps
interfaceinterface AssistantChainOfThoughtRootProps extends Omit<ComponentPropsWithoutRef<"div">, "open" | "defaultOpen" | "onChange"> { readonly asChild?: boolean; readonly open?: CollapsibleInput["open"]; readonly defaultOpen?: CollapsibleInput["defaultOpen"]; readonly disabled?: CollapsibleInput["disabled"]; readonly onOpenChange?: (detail: { readonly open: boolean; readonly reason: string; }) => void; readonly children?: ReactNode;}asChildbooleanchildrenReactNodedefaultOpenCollapsibleInput["defaultOpen"]disabledCollapsibleInput["disabled"]onOpenChange(detail: {
readonly open: boolean;
readonly reason: string;
}) => voidopenCollapsibleInput["open"]- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
defaultOpen- Kind
- property
- Type
CollapsibleInput["defaultOpen"]- Requirement
- optional
- Name
disabled- Kind
- property
- Type
CollapsibleInput["disabled"]- Requirement
- optional
- Name
onOpenChange- Kind
- property
- Type
(detail: { readonly open: boolean; readonly reason: string; }) => void- Requirement
- optional
- Name
open- Kind
- property
- Type
CollapsibleInput["open"]- Requirement
- optional
ChainOfThought
valueexport declare const ChainOfThought: { Root: import("react").ForwardRefExoticComponent<AssistantChainOfThoughtRootProps & import("react").RefAttributes<HTMLDivElement>>; AccordionTrigger: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>; Trigger: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>; Parts: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;};AccordionTriggerimport("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>Partsimport("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>Rootimport("react").ForwardRefExoticComponent<AssistantChainOfThoughtRootProps & import("react").RefAttributes<HTMLDivElement>>Triggerimport("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>- Name
AccordionTrigger- Kind
- property
- Type
import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>- Requirement
- required
- Name
Parts- Kind
- property
- Type
import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Root- Kind
- property
- Type
import("react").ForwardRefExoticComponent<AssistantChainOfThoughtRootProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Trigger- Kind
- property
- Type
import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>- Requirement
- required
Parts
valueexport declare const Parts: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Root
valueexport declare const Root: import("react").ForwardRefExoticComponent<AssistantChainOfThoughtRootProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Trigger
valueexport declare const Trigger: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
useAssistantChainOfThought
functiondeclare function useAssistantChainOfThought(input: CollapsibleInput, options?: UseAssistantChainOfThoughtOptions): UseAssistantChainOfThoughtResult;inputCollapsibleInputoptionsUseAssistantChainOfThoughtOptionsreturnUseAssistantChainOfThoughtResult- Name
input- Kind
- parameter
- Type
CollapsibleInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseAssistantChainOfThoughtOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseAssistantChainOfThoughtResult- Requirement
- n/a
useAssistantChainOfThoughtContext
functiondeclare function useAssistantChainOfThoughtContext(part: string): AssistantChainOfThoughtContextValue;partstringreturnAssistantChainOfThoughtContextValue- Name
part- Kind
- parameter
- Type
string- Requirement
- required
- Name
return- Kind
- return value
- Type
AssistantChainOfThoughtContextValue- Requirement
- n/a
UseAssistantChainOfThoughtOptions
interfaceinterface UseAssistantChainOfThoughtOptions { readonly onOpenChange?: (detail: AssistantChainOfThoughtChangeDetail) => void;}onOpenChange(detail: AssistantChainOfThoughtChangeDetail) => void- Name
onOpenChange- Kind
- property
- Type
(detail: AssistantChainOfThoughtChangeDetail) => void- Requirement
- optional
UseAssistantChainOfThoughtResult
interfaceinterface UseAssistantChainOfThoughtResult { readonly service: CollapsibleService; readonly connector: AssistantChainOfThoughtApi; readonly scope: PartScope; readonly snapshot: CollapsibleSnapshot;}connectorAssistantChainOfThoughtApiscopePartScopeserviceCollapsibleServicesnapshotCollapsibleSnapshot- Name
connector- Kind
- property
- Type
AssistantChainOfThoughtApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
CollapsibleService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
CollapsibleSnapshot- Requirement
- required
@grassroot/ui-headless-vue/assistant-chain-of-thought
Vue adapter
AccordionTrigger
valueexport declare const AccordionTrigger: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;AssistantChainOfThought
valueexport declare const AssistantChainOfThought: { Root: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; }; }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; }; }>> & Readonly<{}>, { open: boolean; defaultOpen: boolean; disabled: boolean; onOpenChange: (detail: { open: boolean; reason: string; }) => void; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; AccordionTrigger: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; Trigger: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; Parts: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;};AccordionTriggerimport("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>Partsimport("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>Rootimport("vue").DefineComponent<import("vue").ExtractPropTypes<{
open: {
type: BooleanConstructor;
default: undefined;
};
defaultOpen: {
type: BooleanConstructor;
default: undefined;
};
disabled: {
type: BooleanConstructor;
default: undefined;
};
onOpenChange: {
type: PropType<(detail: {
open: boolean;
reason: string;
}) => void>;
default: undefined;
};
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
open: {
type: BooleanConstructor;
default: undefined;
};
defaultOpen: {
type: BooleanConstructor;
default: undefined;
};
disabled: {
type: BooleanConstructor;
default: undefined;
};
onOpenChange: {
type: PropType<(detail: {
open: boolean;
reason: string;
}) => void>;
default: undefined;
};
}>> & Readonly<{}>, {
open: boolean;
defaultOpen: boolean;
disabled: boolean;
onOpenChange: (detail: {
open: boolean;
reason: string;
}) => void;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>Triggerimport("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>- Name
AccordionTrigger- Kind
- property
- Type
import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>- Requirement
- required
- Name
Parts- Kind
- property
- Type
import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>- Requirement
- required
- Name
Root- Kind
- property
- Type
import("vue").DefineComponent<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; }; }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; }; }>> & Readonly<{}>, { open: boolean; defaultOpen: boolean; disabled: boolean; onOpenChange: (detail: { open: boolean; reason: string; }) => void; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>- Requirement
- required
- Name
Trigger- Kind
- property
- Type
import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>- Requirement
- required
Parts
valueexport declare const Parts: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Root
valueexport declare const Root: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; };}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ open: { type: BooleanConstructor; default: undefined; }; defaultOpen: { type: BooleanConstructor; default: undefined; }; disabled: { type: BooleanConstructor; default: undefined; }; onOpenChange: { type: PropType<(detail: { open: boolean; reason: string; }) => void>; default: undefined; };}>> & Readonly<{}>, { open: boolean; defaultOpen: boolean; disabled: boolean; onOpenChange: (detail: { open: boolean; reason: string; }) => void;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;Trigger
valueexport declare const Trigger: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;@grassroot/ui-headless-angular/assistant-chain-of-thought
Angular adapter
GrAssistantB3Surface
classexport declare class GrAssistantB3Surface implements OnDestroy { readonly client: import("@angular/core").InputSignal<AssistantClient | undefined>; readonly queueEvents: import("@angular/core").WritableSignal<string>; readonly quoteText: import("@angular/core").WritableSignal<string>; readonly quoteMessageId: import("@angular/core").WritableSignal<string>; readonly version: import("@angular/core").WritableSignal<number>; private readonly host; private state; private readonly cleanup; constructor(); private ensureState; private syncDom; private apply; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;}applyanycleanupanyclientimport("@angular/core").InputSignal<AssistantClient | undefined>ensureStateanyhostanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>queueEventsimport("@angular/core").WritableSignal<string>quoteMessageIdimport("@angular/core").WritableSignal<string>quoteTextimport("@angular/core").WritableSignal<string>stateanysyncDomanyversionimport("@angular/core").WritableSignal<number>- Name
apply- Kind
- property
- Type
any- Requirement
- required
- Name
cleanup- Kind
- property
- Type
any- Requirement
- required
- Name
client- Kind
- property
- Type
import("@angular/core").InputSignal<AssistantClient | undefined>- Requirement
- required
- Name
ensureState- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>- Requirement
- required
- Name
queueEvents- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteMessageId- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteText- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
state- Kind
- property
- Type
any- Requirement
- required
- Name
syncDom- Kind
- property
- Type
any- Requirement
- required
- Name
version- Kind
- property
- Type
import("@angular/core").WritableSignal<number>- Requirement
- required
export declare class GrAssistantB3Surface implements OnDestroy { readonly client: import("@angular/core").InputSignal<AssistantClient | undefined>; readonly queueEvents: import("@angular/core").WritableSignal<string>; readonly quoteText: import("@angular/core").WritableSignal<string>; readonly quoteMessageId: import("@angular/core").WritableSignal<string>; readonly version: import("@angular/core").WritableSignal<number>; private readonly host; private state; private readonly cleanup; constructor(); private ensureState; private syncDom; private apply; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;}applyanycleanupanyclientimport("@angular/core").InputSignal<AssistantClient | undefined>ensureStateanyhostanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>queueEventsimport("@angular/core").WritableSignal<string>quoteMessageIdimport("@angular/core").WritableSignal<string>quoteTextimport("@angular/core").WritableSignal<string>stateanysyncDomanyversionimport("@angular/core").WritableSignal<number>- Name
apply- Kind
- property
- Type
any- Requirement
- required
- Name
cleanup- Kind
- property
- Type
any- Requirement
- required
- Name
client- Kind
- property
- Type
import("@angular/core").InputSignal<AssistantClient | undefined>- Requirement
- required
- Name
ensureState- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>- Requirement
- required
- Name
queueEvents- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteMessageId- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteText- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
state- Kind
- property
- Type
any- Requirement
- required
- Name
syncDom- Kind
- property
- Type
any- Requirement
- required
- Name
version- Kind
- property
- Type
import("@angular/core").WritableSignal<number>- Requirement
- required
export declare class GrAssistantB3Surface implements OnDestroy { readonly client: import("@angular/core").InputSignal<AssistantClient | undefined>; readonly queueEvents: import("@angular/core").WritableSignal<string>; readonly quoteText: import("@angular/core").WritableSignal<string>; readonly quoteMessageId: import("@angular/core").WritableSignal<string>; readonly version: import("@angular/core").WritableSignal<number>; private readonly host; private state; private readonly cleanup; constructor(); private ensureState; private syncDom; private apply; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;}applyanycleanupanyclientimport("@angular/core").InputSignal<AssistantClient | undefined>ensureStateanyhostanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>queueEventsimport("@angular/core").WritableSignal<string>quoteMessageIdimport("@angular/core").WritableSignal<string>quoteTextimport("@angular/core").WritableSignal<string>stateanysyncDomanyversionimport("@angular/core").WritableSignal<number>- Name
apply- Kind
- property
- Type
any- Requirement
- required
- Name
cleanup- Kind
- property
- Type
any- Requirement
- required
- Name
client- Kind
- property
- Type
import("@angular/core").InputSignal<AssistantClient | undefined>- Requirement
- required
- Name
ensureState- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>- Requirement
- required
- Name
queueEvents- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteMessageId- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteText- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
state- Kind
- property
- Type
any- Requirement
- required
- Name
syncDom- Kind
- property
- Type
any- Requirement
- required
- Name
version- Kind
- property
- Type
import("@angular/core").WritableSignal<number>- Requirement
- required
export declare class GrAssistantB3Surface implements OnDestroy { readonly client: import("@angular/core").InputSignal<AssistantClient | undefined>; readonly queueEvents: import("@angular/core").WritableSignal<string>; readonly quoteText: import("@angular/core").WritableSignal<string>; readonly quoteMessageId: import("@angular/core").WritableSignal<string>; readonly version: import("@angular/core").WritableSignal<number>; private readonly host; private state; private readonly cleanup; constructor(); private ensureState; private syncDom; private apply; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;}applyanycleanupanyclientimport("@angular/core").InputSignal<AssistantClient | undefined>ensureStateanyhostanyngOnDestroy() => voidɵcmpi0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>queueEventsimport("@angular/core").WritableSignal<string>quoteMessageIdimport("@angular/core").WritableSignal<string>quoteTextimport("@angular/core").WritableSignal<string>stateanysyncDomanyversionimport("@angular/core").WritableSignal<number>- Name
apply- Kind
- property
- Type
any- Requirement
- required
- Name
cleanup- Kind
- property
- Type
any- Requirement
- required
- Name
client- Kind
- property
- Type
import("@angular/core").InputSignal<AssistantClient | undefined>- Requirement
- required
- Name
ensureState- Kind
- property
- Type
any- Requirement
- required
- Name
host- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrAssistantB3Surface, "gr-assistant-b3-surface", never, { "client": { "alias": "client"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrAssistantB3Surface, never>- Requirement
- required
- Name
queueEvents- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteMessageId- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
quoteText- Kind
- property
- Type
import("@angular/core").WritableSignal<string>- Requirement
- required
- Name
state- Kind
- property
- Type
any- Requirement
- required
- Name
syncDom- Kind
- property
- Type
any- Requirement
- required
- Name
version- Kind
- property
- Type
import("@angular/core").WritableSignal<number>- Requirement
- required
@grassroot/ui-headless-svelte/assistant-chain-of-thought
Svelte adapter
AccordionTrigger
valueexport declare const AccordionTrigger: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
AssistantChainOfThought
valueexport declare const AssistantChainOfThought: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Parts
valueexport declare const Parts: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Root
valueexport declare const Root: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
Trigger
valueexport declare const Trigger: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
@grassroot/ui-headless-solid/assistant-chain-of-thought
Solid adapter
AccordionTrigger
functionexport declare function AssistantChainOfThoughtAccordionTrigger(props: JSX.ButtonHTMLAttributes<HTMLButtonElement>): JSX.Element;propsJSX.ButtonHTMLAttributes<HTMLButtonElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.ButtonHTMLAttributes<HTMLButtonElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
AssistantChainOfThought
valueexport declare const AssistantChainOfThought: { Root: typeof AssistantChainOfThoughtRoot; AccordionTrigger: typeof AssistantChainOfThoughtAccordionTrigger; Trigger: typeof AssistantChainOfThoughtAccordionTrigger; Parts: typeof AssistantChainOfThoughtParts;};AccordionTriggertypeof AssistantChainOfThoughtAccordionTriggerPartstypeof AssistantChainOfThoughtPartsRoottypeof AssistantChainOfThoughtRootTriggertypeof AssistantChainOfThoughtAccordionTrigger- Name
AccordionTrigger- Kind
- property
- Type
typeof AssistantChainOfThoughtAccordionTrigger- Requirement
- required
- Name
Parts- Kind
- property
- Type
typeof AssistantChainOfThoughtParts- Requirement
- required
- Name
Root- Kind
- property
- Type
typeof AssistantChainOfThoughtRoot- Requirement
- required
- Name
Trigger- Kind
- property
- Type
typeof AssistantChainOfThoughtAccordionTrigger- Requirement
- required
Parts
functionexport declare function AssistantChainOfThoughtParts(props: JSX.HTMLAttributes<HTMLDivElement>): JSX.Element;propsJSX.HTMLAttributes<HTMLDivElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLDivElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Root
functionexport declare function AssistantChainOfThoughtRoot(props: JSX.HTMLAttributes<HTMLDivElement> & { readonly open?: boolean; readonly defaultOpen?: boolean; readonly disabled?: boolean; readonly onOpenChange?: (detail: { open: boolean; reason: string; }) => void;}): JSX.Element;propsJSX.HTMLAttributes<HTMLDivElement> & {
readonly open?: boolean;
readonly defaultOpen?: boolean;
readonly disabled?: boolean;
readonly onOpenChange?: (detail: {
open: boolean;
reason: string;
}) => void;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLDivElement> & { readonly open?: boolean; readonly defaultOpen?: boolean; readonly disabled?: boolean; readonly onOpenChange?: (detail: { open: boolean; reason: string; }) => void; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
Trigger
valueexport declare const Trigger: typeof AssistantChainOfThoughtAccordionTrigger;propsJSX.ButtonHTMLAttributes<HTMLButtonElement>returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.ButtonHTMLAttributes<HTMLButtonElement>- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a