import { Duration } from "moment/moment";
import { TimeScale } from "./time-scale";
import { IBandScale } from "./types";
export declare function isDaylightSavingTime(d: Date): boolean;
/**
 * Scale designed to support regular interval based data.
 */
export declare class TimeIntervalScale extends TimeScale implements IBandScale<Date> {
    private _bandScale;
    private _interval;
    constructor(interval: Duration, id?: string);
    interval(): Duration;
    interval(value: Duration): TimeIntervalScale;
    domain(domain?: Date[]): any;
    range(range?: [number, number]): any;
    getBands(): Date[];
    convert(value: Date, position?: number): number;
    /**
     * Converts the specified coordinate into the value of the closest band data point
     *
     * @param {number} coordinate The coordinate to convert
     * @returns {string} The value of the closest band data point
     */
    invert(coordinate: number): Date | undefined;
    bandwidth(): number;
    truncToInterval(datetime: Date | undefined, interval: Duration, isDomainChange?: boolean): Date | undefined;
    isContinuous(): boolean;
    defaultTitleFormatter: (inputDate: Date) => string;
    private getBandsForInterval;
}
