import type { TimeGranularity } from '../../types'; export declare const formatXAxis: (data: string | number, format: string) => string; export declare const getFormatData: (data: Record[], field: string, format: string) => { [x: string]: any; }[]; export declare const getInitTimeRange: (times: string[]) => [string, string]; export declare const getTimeInterval: (times: string[]) => [ string, string ] | [ number, number ]; export declare const getTimeFormat: (timeGranularity: TimeGranularity) => "YYYY" | "YYYY-MM" | "YYYY-MM-DD" | "YYYY-MM-DD HH" | "YYYY-MM-DD HH:mm" | "YYYY-MM-DD HH:mm:ss";