/// <reference types="react" />
import { FluxTable, SortOptions, RenamableField, DecimalPlaces, ColumnWidths } from '../types';
export interface TransformTableDataReturnType {
    transformedData: string[][];
    sortedTimeVals: string[];
    columnWidths: ColumnWidths;
    resolvedRenamableFields: RenamableField[];
    sortOptions: SortOptions;
}
export declare enum ErrorTypes {
    MetaQueryCombo = "MetaQueryCombo",
    GeneralError = "Error"
}
export declare const getInvalidDataMessage: (errorType: ErrorTypes) => string;
export declare const resolveRenamableFields: (existingRenamableFields: RenamableField[], labels: string[]) => RenamableField[];
export declare const calculateColumnWidths: (data: string[][], RenamableFields: RenamableField[], timeFormat: string, verticalTimeAxis: boolean, decimalPlaces: DecimalPlaces) => ColumnWidths;
export declare const filterTableColumns: (data: string[][], RenamableFields: RenamableField[]) => string[][];
export declare const orderTableColumns: (data: string[][], RenamableFields: RenamableField[]) => string[][];
export declare const sortTableData: (data: string[][], sort: SortOptions) => {
    sortedData: string[][];
    sortedTimeVals: string[];
};
export declare const excludeNoisyColumns: (data: string[][]) => string[][];
export declare const transformTableData: (data: string[][], sortOptions: SortOptions, renamableFields: RenamableField[], tableOptions: {
    wrapping?: "truncate" | "wrap" | "single-line";
    fixFirstColumn?: boolean;
    verticalTimeAxis?: boolean;
    sortBy?: RenamableField;
}, timeFormat: string, decimalPlaces: DecimalPlaces) => TransformTableDataReturnType;
export declare const isNumerical: (x: any) => boolean;
export declare const findHoverTimeIndex: (sortedTimeVals: string[], hoverTime: number) => number;
/**
 * Get absolute mili seconds between a unix ms time number and iso utc string
 *
 * @param unixMs
 * @param isoTime
 */
export declare const getUnixISODiff: (unixMs: number, isoTime: import("react").ReactText) => number;
export declare const findTableNameHeaders: (tables: FluxTable[], name: string) => any;
export declare const resolveTimeFormat: (timeFormat: string) => string;
