import { DataType } from '@vizzly/sqlbuilder-public';
import { PivotConfig } from '../PivotConfig/types';
import { FormattedResult } from './types';
declare type Key = {
    key: string;
    keyFormatted: string;
    dataType: DataType;
    outputDataType: DataType;
};
declare type FormattedResultToSeriesReturn = {
    yKeys: string[];
    xKeys: string[];
    zKey?: string;
    keys: {
        [keyId: string]: Key;
    };
    seriesData: FormattedResult['contentMapped'];
};
export declare type seriesLabelFormatter = (params: {
    yResultField: FormattedResult['fields'][number];
    yPivotFields: FormattedResult['fields'];
    row: FormattedResult['contentMapped'][number];
}) => string;
export declare const formattedResultToSeries: (formattedResult: FormattedResult, pivotConfig: PivotConfig, zFieldId?: string | undefined) => FormattedResultToSeriesReturn;
export {};
