import { TimelinePassThrough, TimelineItemTemplateContext } from 'primeng/types/timeline'; export * from 'primeng/types/timeline'; import * as i0 from '@angular/core'; import { TemplateRef, QueryList } from '@angular/core'; import * as i2 from 'primeng/api'; import { BlockableUI } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { Nullable } from 'primeng/ts-helpers'; import * as _primeuix_styled from '@primeuix/styled'; import { BaseStyle } from 'primeng/base'; /** * * Timeline visualizes a series of chained events. * * [Live Demo](https://primeng.org/timeline) * * @module timelinestyle * */ declare enum TimelineClasses { /** * Class name of the root element */ root = "p-timeline", /** * Class name of the event element */ event = "p-timeline-event", /** * Class name of the event opposite element */ eventOpposite = "p-timeline-event-opposite", /** * Class name of the event separator element */ eventSeparator = "p-timeline-event-separator", /** * Class name of the event marker element */ eventMarker = "p-timeline-event-marker", /** * Class name of the event connector element */ eventConnector = "p-timeline-event-connector", /** * Class name of the event content element */ eventContent = "p-timeline-event-content" } declare class TimelineStyle extends BaseStyle { name: string; style: _primeuix_styled.StyleType; classes: { root: ({ instance }: { instance: any; }) => string[]; event: string; eventOpposite: string; eventSeparator: string; eventMarker: string; eventConnector: string; eventContent: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface TimelineStyle extends BaseStyle { } /** * Timeline visualizes a series of chained events. * @group Components */ declare class Timeline extends BaseComponent implements BlockableUI { bindDirectiveInstance: Bind; $pcTimeline: Timeline | undefined; onAfterViewChecked(): void; /** * An array of events to display. * @group Props */ value: any[] | undefined; /** * Style class of the component. * @deprecated since v20.0.0, use `class` instead. * @group Props */ styleClass: string | undefined; /** * Position of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout. * @group Props */ align: string; /** * Orientation of the timeline. * @group Props */ layout: 'vertical' | 'horizontal'; /** * Custom content template. * @param {TimelineItemTemplateContext} context - item context. * @see {@link TimelineItemTemplateContext} * @group Templates */ contentTemplate: Nullable>; /** * Custom opposite item template. * @param {TimelineItemTemplateContext} context - item context. * @see {@link TimelineItemTemplateContext} * @group Templates */ oppositeTemplate: Nullable>; /** * Custom marker template. * @param {TimelineItemTemplateContext} context - item context. * @see {@link TimelineItemTemplateContext} * @group Templates */ markerTemplate: Nullable>; templates: Nullable>; _contentTemplate: TemplateRef | undefined; _oppositeTemplate: TemplateRef | undefined; _markerTemplate: TemplateRef | undefined; _componentStyle: TimelineStyle; getBlockableElement(): HTMLElement; onAfterContentInit(): void; get dataP(): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class TimelineModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Timeline, TimelineClasses, TimelineModule, TimelineStyle };