/// <reference types="react" />
import { Result as ResultType } from '../../../../shared-logic/src/Result/types';
import { TableRepresentation } from '../../../../shared-logic/src/DataTable/types';
import { DataType } from '../../../../shared-logic/src/Field/types';
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
import { Component } from '../../../../shared-logic/src/Component/types';
import { TextOverride } from '../../../../shared-logic/src/Translations/types';
import { DashboardBehaviour } from '../../contexts/DashboardBehaviour/types';
import { DataTableViewProps } from './DataTableView';
import { ValueAlias } from '../../../../shared-logic/src/ValueAlias/types';
export * from './headerFormatting';
export declare const buildTableRepresentation: ({ type, result, exportNames, prefixes, dateTimeFormat, dateTimeFormatOptions, numberFormat, numberFormatOptions, supportedAggregates, supportedTimeTruncFunctions, labelFormat, nullReplacement, measure, xMeasure, yMeasure, dimension, viewId, dataSetId, textOverride, hiddenFields, valueAlias, }: {
    type: string;
    result: ResultType | null | undefined;
    exportNames: DataTableViewProps['exportNames'] | undefined;
    prefixes: DataTableViewProps['prefixes'] | undefined;
    dateTimeFormat: DataTableViewProps['dateTimeFormat'] | undefined;
    dateTimeFormatOptions: DataTableViewProps['dateTimeFormatOptions'];
    numberFormat: DataTableViewProps['numberFormat'] | undefined;
    numberFormatOptions: DataTableViewProps['numberFormatOptions'];
    supportedAggregates: DashboardBehaviour['queryEngineConfig']['supportedAggregates'];
    supportedTimeTruncFunctions: DashboardBehaviour['queryEngineConfig']['supportedTimeTruncFunctions'];
    labelFormat: DashboardBehaviour['labelFormat'];
    nullReplacement: (fieldId: string) => string | undefined;
    measure?: QueryAttributes.Measure[] | undefined;
    xMeasure?: QueryAttributes.Measure | null | undefined;
    yMeasure?: QueryAttributes.Measure | undefined;
    dimension?: QueryAttributes.Dimension[] | undefined;
    viewId?: string | undefined;
    dataSetId: string;
    textOverride?: TextOverride | undefined;
    hiddenFields?: string[] | undefined;
    valueAlias?: {
        [id: string]: import("react").ReactText;
    } | import("../../../../shared-logic/src/ValueAlias/types").ValueAliasFunction | undefined;
}) => TableRepresentation | null;
export declare const formatTableContent: (fields: Array<{
    id: string;
    dataType: DataType;
    datumKey?: string;
}>, content: any[][], prefixes: DataTableViewProps['prefixes'] | undefined, dateTimeFormat: DataTableViewProps['dateTimeFormat'] | undefined, dateTimeFormatOptions: DataTableViewProps['dateTimeFormatOptions'], numberFormat: DataTableViewProps['numberFormat'] | undefined, numberFormatOptions: DataTableViewProps['numberFormatOptions'], nullReplacement: (fieldId: string) => string | undefined) => TableRepresentation['content'];
