import { TimeRange } from "../utils/date_time/time_range";
import { Dimension } from "./dimension";
export declare const enum DimensionSegmentType {
    Time = "time",
    Unknown = "unknown"
}
export declare abstract class DimensionSegment {
    dimension: Dimension;
    abstract type: DimensionSegmentType;
    key: string;
    constructor(dimension: Dimension);
    static fromKey(key: string): DimensionSegment | void;
}
export declare namespace DimensionSegment {
    class Time extends DimensionSegment {
        range: TimeRange;
        type: DimensionSegmentType;
        constructor(dimension: Dimension, range: TimeRange);
    }
    class Unknown extends DimensionSegment {
        type: DimensionSegmentType;
    }
}
