import * as _angular_core from '@angular/core'; import { ChangeDetectorRef } from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XBoolean, XSize, XTemplate } from '@ng-nest/ui/core'; import { XTimelineNode } from '@ng-nest/ui/timeline'; import { XLoadingType } from '@ng-nest/ui/loading'; /** * ThoughtChain * @selector x-thought-chain * @decorator component */ declare const XThoughtChainPrefix = "x-thought-chain"; declare const XThoughtChainProperty_base: new () => { config: _ng_nest_ui_core.XThoughtChainConfig | undefined; }; /** * ThoughtChain Property */ declare class XThoughtChainProperty extends XThoughtChainProperty_base { /** * @zh_CN 思维链节点数据 * @en_US ThoughtChain items */ readonly data: _angular_core.ModelSignal; /** * @zh_CN 显示序号 * @en_US Show number */ readonly showNumber: _angular_core.InputSignalWithTransform; /** * @zh_CN 尺寸 * @en_US Size */ readonly size: _angular_core.InputSignal; /** * @zh_CN 自定义内容模板 * @en_US Content template */ readonly wrapper: _angular_core.InputSignal; /** * @zh_CN 自定义图标模板 * @en_US Icon template */ readonly icon: _angular_core.InputSignal; /** * @zh_CN 节点标题右侧额外的内容模板 * @en_US Node extra content */ readonly extra: _angular_core.InputSignal; /** * @zh_CN 节点详细内容模板 * @en_US Node detail content */ readonly content: _angular_core.InputSignal; /** * @zh_CN 详细内容是否可折叠 * @en_US Collapsible detail content */ readonly collapsible: _angular_core.InputSignalWithTransform; /** * @zh_CN loading 的类型样式 * @en_US Loading type style */ readonly loadingType: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * @zh_CN 思维链节点 * @en_US Thought chain node */ interface XThoughtChainNode extends XTimelineNode { /** * @zh_CN 节点描述 * @en_US Node description */ description?: string; /** * @zh_CN 节点状态 * @en_US Node status */ status?: XThoughtChainNodeStatus; } /** * @zh_CN 节点状态 * @en_US Node status */ type XThoughtChainNodeStatus = 'success' | 'error' | 'pending'; declare class XThoughtChainComponent extends XThoughtChainProperty { cdr: ChangeDetectorRef; addNode(node: XThoughtChainNode): void; updateNode(node: XThoughtChainNode): void; removeNode(node: XThoughtChainNode): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XThoughtChainModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { XThoughtChainComponent, XThoughtChainModule, XThoughtChainPrefix, XThoughtChainProperty }; export type { XThoughtChainNode, XThoughtChainNodeStatus };