import * as i0 from '@angular/core'; import { OnChanges, TemplateRef, SimpleChanges, AfterContentInit, OnInit, QueryList } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { ReplaySubject } from 'rxjs'; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ type NzTimelineMode = 'left' | 'alternate' | 'right' | 'custom'; type NzTimelinePosition = 'left' | 'right'; declare const TimelineTimeDefaultColors: readonly ["red", "blue", "green", "grey", "gray"]; type NzTimelineItemColor = (typeof TimelineTimeDefaultColors)[number] | string; /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzTimelineItemComponent implements OnChanges { private cdr; private timelineService; template: TemplateRef; nzPosition?: NzTimelinePosition; nzColor: NzTimelineItemColor; nzDot?: string | TemplateRef; nzLabel?: string | TemplateRef; isLast: boolean; borderColor: string | null; position?: NzTimelinePosition; ngOnChanges(changes: SimpleChanges): void; detectChanges(): void; private updateCustomColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzTimelineComponent implements AfterContentInit, OnChanges, OnInit { private cdr; private timelineService; private directionality; private destroyRef; listOfItems: QueryList; nzMode: NzTimelineMode; nzPending?: string | boolean | TemplateRef; nzPendingDot?: string | TemplateRef; nzReverse: boolean; isPendingBoolean: boolean; timelineItems: NzTimelineItemComponent[]; dir: Direction; hasLabelItem: boolean; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; ngAfterContentInit(): void; private updateChildren; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzReverse: unknown; } declare class NzTimelineModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class TimelineService { check$: ReplaySubject; markForCheck(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { NzTimelineComponent, NzTimelineItemComponent, NzTimelineModule, TimelineService }; export type { NzTimelineItemColor, NzTimelineMode, NzTimelinePosition };