import { Dayjs, OpUnitType } from 'dayjs';
import { PickerTimeRanges } from './types';
export declare const BASE_UNITS: readonly ["K", "M", "G", "T", "P", "E"];
export declare const UNITS: readonly ["", "K", "M", "G", "T", "P", "E"];
export declare const UNIT_REG: RegExp;
export declare const MEMORY_UNITS: string[];
export declare enum UnitType {
    MEMORY = "memory",
    CAPACITY = "capacity"
}
export interface MatchUnitParams {
    base?: number;
    threshold?: number;
    unitType?: UnitType;
    unitRange?: string[];
    defaultPrefix?: boolean;
    prefix?: string;
    baseUnit?: string;
}
export declare const MATCH_UNIT_DEFAULT_BASE = 1024;
export declare const UnitMap: {
    [key: string]: readonly string[];
};
export declare const matchUnit: (value: number, params?: MatchUnitParams) => {
    unit: string;
    exponent: number;
};
export declare const adaptUnit: (seriesOrMetrics: Array<{
    data?: Array<{
        x: number;
        y: number;
    }>;
    values?: Array<{
        x: number;
        y: number;
    }>;
}>, params?: MatchUnitParams) => {
    unit: string;
    exponent: number;
};
export declare function getTimeValueOf(value: string): number;
export declare const CHART_DATA_FORMAT: string;
export declare const getTimeRanges: (value: number, unit: OpUnitType) => {
    start: () => string;
    end: () => string;
    startTime: () => number;
    endTime: () => number;
};
export declare function dateTimeRounding(value: number | Dayjs): string;
export declare const PICKER_TIME_RANGES: PickerTimeRanges[];
