import * as _angular_core from '@angular/core'; import { OnInit, TemplateRef, WritableSignal } from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from 'ngx-tethys/shared'; import * as i3 from 'ngx-tethys/icon'; import { Subject } from 'rxjs'; type ThyTimelineMode = 'left' | 'right' | 'center'; /** @deprecated use ThyTimelineMode, will be removed in v23 */ type ThyTimeMode = ThyTimelineMode; type ThyTimelineColor = 'primary' | 'success' | 'warning' | 'danger' | 'info'; /** @deprecated use ThyTimelineColor, will be removed in v23 */ type thyColor = ThyTimelineColor; /** * 时间轴节点组件 * @name thy-timeline-item * @order 20 */ declare class ThyTimelineItem implements OnInit { private cdr; readonly template: _angular_core.Signal | undefined>; isLast: boolean; isFirst: boolean; position?: ThyTimelineMode; reverse: boolean; /** * 指定圆圈颜色 * @type primary | success | warning | danger | info * @default primary */ readonly thyColor: _angular_core.InputSignal; /** * 自定义节点位置 * @type left | right | center */ readonly thyPosition: _angular_core.InputSignal; /** * 自定义时间轴点模板 * @type TemplateRef */ readonly dot: _angular_core.Signal | undefined>; /** * 自定义另一侧的模板 * @type TemplateRef */ readonly description: _angular_core.Signal | undefined>; constructor(); detectChanges(): void; ngOnInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } type ThyTimeDirection = 'horizontal' | 'vertical'; /** * 时间轴组件 * @name thy-timeline * @order 10 */ declare class ThyTimeline implements OnInit { private cdr; private timelineService; /** * 节点排序是否倒序 * @default false */ readonly thyReverse: _angular_core.InputSignalWithTransform; /** * 改变时间轴和内容的相对位置,当 thyDirection 为 vertical 时生效 * @type left | right | center * @default left */ readonly thyMode: _angular_core.InputSignal; /** * 时间轴的方向 * @type horizontal | vertical */ readonly thyDirection: _angular_core.InputSignal; timelineItems: ThyTimelineItem[]; templateTimeline: WritableSignal; horizontal: _angular_core.Signal; rightTimeline: _angular_core.Signal; centerTimeline: _angular_core.Signal; readonly listOfItems: _angular_core.Signal; private takeUntilDestroyed; constructor(); ngOnInit(): void; private updateChildren; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyTimelineModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } declare class ThyTimelineService { check$: Subject; markForCheck(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } export { ThyTimeline, ThyTimelineItem, ThyTimelineModule, ThyTimelineService }; export type { ThyTimeDirection, ThyTimeMode, ThyTimelineColor, ThyTimelineMode, thyColor };