import { Subject } from 'rxjs'; import { Axis } from './lib/classes/axes/axis.js'; import { Buckets } from './lib/classes/buckets/buckets.js'; import { Dimensions } from './lib/classes/dimensions/dimensions.js'; import { DrawableObject } from './lib/classes/drawable.object.js'; import { Granularity } from './lib/enumerations/granularity.enum.js'; import { TimelineData, TimelineTooltip } from './lib/interfaces/timeline.data.js'; export declare class Timeline extends DrawableObject { private granularity; private climatological; boundDates: Date[]; private axis; private buckets; private cursor; private verticalLine; private data; private cursorDate; hoveredData: Subject; selectedData: Subject; constructor(svg: any); setGranularity(granularity: Granularity): Timeline; setBoundDates(dates: Date[]): Timeline; setClimatological(climatological: boolean): Timeline; setData(data: any): Timeline; moveCursor(d: Date): void; plot(emitSelectedData?: boolean): void; onClick(e: PointerEvent): void; onMouseenter(e: PointerEvent): void; onMouseleave(e: PointerEvent): void; onMousemove(e: PointerEvent): void; static dateToString(d: Date, granularity: Granularity, climatological?: boolean): string; } export declare class AxesCollection { private axis; private annexedAxes; private context; private dimensions; constructor(context: any, dimensions: Dimensions); setDimensions(dimensions: Dimensions): AxesCollection; update(granularity: Granularity, boundsDate: Date[], climatological: boolean): Axis; get(): Axis; } export declare class BucketsCollection { private buckets; private context; constructor(context: any); update(granularity: Granularity, climatological: boolean): Buckets; get(): Buckets; }