import { PivotConfig } from '../../../../shared-logic/src/PivotConfig/types';
import { QueryAttributes } from '../../../../shared-logic/src/QueryAttributes/types';
import { TimeSeriesResultSet } from '../../../../shared-logic/src/Result/Result';
import { Result } from '../../../../shared-logic/src/Result/types';
declare type QueryType = QueryAttributes & {
    dataSetId: string;
};
export declare const toKeyValueResults: (result: Result) => {
    [key: string]: any;
}[];
export declare const resultSet: (result: Result, pivotConfig: PivotConfig, query: QueryType, as100PercentResultSet?: boolean, nullReplacement?: string | undefined) => Array<TimeSeriesResultSet>;
declare type Series = {
    key: string;
    name: string;
    yValues: any[];
}[];
export declare const series: (query: QueryType, result: Result, pivotConfig: PivotConfig) => Series;
export declare const findFieldById: (result: Result, fieldId: string) => Result.Field | undefined;
export declare const to100PercentResultSet: (resultSet: Array<TimeSeriesResultSet>) => Array<TimeSeriesResultSet>;
export {};
