import { LinearScale } from './linear-scale'; export type TimeUnit = 'second' | 'minute' | 'hour' | 'day' | 'week' | 'month' | 'year'; export declare function toTimestamp(value: unknown): number; /** Time scale: domain in milliseconds, ticks at calendar boundaries. */ export declare class TimeScale extends LinearScale { /** Unit of the last tick generation — for the default label format. */ tickUnit: TimeUnit; convert(value: number): number; nice(): void; ticks(count?: number): number[]; /** Months/years step calendar-wise, not by a fixed number of ms. */ private calendarTicks; /** Default label format for the current tickUnit. */ formatTick(value: number): string; }