import { DateTimeFormatter, NumberFormatter } from '../ChartsV2/types';
import { ValueAliasFunctionV2 } from '../ValueAlias/types';
import { FormattedResult, Result } from './types';
export declare type FormatResultArgs = {
    defaultFormats: () => {
        [functionId: string]: string;
    };
    dateTimeFormatOptions: {
        [id: string]: DateTimeFormatter;
    };
    numberFormatOptions: {
        [id: string]: NumberFormatter;
    };
    /** Only support the function, because the mapping is not granular enough (not using fieldId just mapping any occurance of one value to another) */
    valueAlias: ValueAliasFunctionV2 | undefined;
    nullValue: {
        [id: string]: string | undefined;
    };
    prefixes: {
        [id: string]: string | undefined;
    };
    postfixes: {
        [id: string]: string | undefined;
    };
    activeNumberFormats: {
        [id: string]: string;
    };
    activeDateTimeFormats: {
        [id: string]: string;
    };
};
/**
 * When provided with a result, and formatting parameters, it returns a
 * populated result including the formatted value to show.
 */
export declare const formatResult: (result: Result, params: FormatResultArgs) => FormattedResult;
