import { DataType } from '../Field/types';
export declare namespace Result {
    type Field = {
        id: string;
        publicName: string;
        dataType: DataType;
        hidden?: boolean;
        fieldId: string;
        function: string;
        outputDataType: DataType;
    };
}
export declare type Result = {
    content: any[][];
    fields: Result.Field[];
    hasMoreResults?: boolean | null;
};
/**
 * Result, but with extra information baked into the
 * content to determine how it should be displayed.
 */
export declare type FormattedChartData = {
    formattedValue: string;
    value: any;
};
export declare type FormattedResult = {
    content: FormattedChartData[][];
    contentMapped: Array<{
        [key: string]: FormattedChartData;
    }>;
    fields: Result.Field[];
    hasMoreResults?: boolean | null;
    formatterFunc: (value: any, fieldParams: {
        fieldId: Result['fields'][number]['fieldId'];
        function: Result['fields'][number]['function'];
        outputDataType: Result['fields'][number]['outputDataType'];
    }) => {
        value: any;
        formattedValue: string;
    };
};
