import { BaseAxis, AxisBaseOptions } from '../base'; import { AxisModule, LayoutRect } from '../../../shared/kernel'; import { TimeScale } from '../../../shared/scale'; export interface TimeAxisOptions extends AxisBaseOptions { type: 'time'; min?: Date | number; max?: Date | number; /** * Width of a bar in axis units — milliseconds, so a bar keeps covering its * own period through a zoom. Without it the step is measured off the data: * the smallest distance between neighbouring points. */ bandSpan?: number; } export declare class TimeAxis extends BaseAxis { readonly type = "time"; readonly scale: TimeScale; get bandSpan(): number | undefined; setDomain(domain: unknown[]): void; layout(plot: LayoutRect): void; protected formatTick(value: unknown, index: number): string; protected tickInfo(): Array<{ value: unknown; coord: number; }>; } export declare const timeAxisModule: AxisModule;