import { ISysviewAPIResponse, IParseOptions, ISysviewDataFlds } from "../../api";
export declare class Utils {
    /**
     * Take a full SYSVIEW API response and return an array of keyword-value objects
     * e.g. Fields: [ "one", "two"] Values: ["val1", "val2] -> [{one: val1, two:val2}]
     * @param {ISysviewAPIResponse} response The response from the SYSVIEW API
     * @param {IParseOptions} [options] options
     */
    static parseDataRows(response: ISysviewAPIResponse, options?: IParseOptions): any[];
    /**
     * Format raw data according to specified units
     * @param {string} data the raw data to be formatted
     * @param {string} units how to format the data
     * @param {boolean} [biz=false] Specify whether to show '0' values or a blank space
     */
    static format(data: string, units: string, biz?: boolean): string;
    private static formatDate;
    private static formatTime;
    /**
     * Format seconds-type data
     * @param {string} strSec the raw data, in seconds, to be formatted
     * @returns {string} returns seconds-type data in one of the following formats:
     *
     * s.ssssss
     *
     * hh:mm:ss
     *
     * d.ddDAYS
     */
    private static formatSeconds;
    private static formatBytes;
    /**
     * Returns field names from the `fields` array in `ISysviewDataRows`
     * @param {string[]} dataRowsFields - The fields returned by the API
     * @param {string[]} userFields - The fields specified by the user
     * @returns {[string, number][]} - An array of fieldname-index pairs
     */
    static getHeaders(dataRowsFields: string[], userFields: string[]): [string, number][];
    /**
     * Returns field headers from the `values` array in `ISysviewDataFlds`
     * @param {ISysviewDataFlds} dataFlds - The `ISysviewDataFlds` portion of the API response
     * @param {string[]} userFields - The fields specified by the user
     * @returns {[string, number][]} - An array of header-index pairs
     */
    static getHeadersFromDataFlds(dataFlds: ISysviewDataFlds, userFields: string[]): [string, number][];
}
