import { AdditionalFilter } from '../../../../../shared-logic/src/AdditionalFilter/types';
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
import { PreparedQuery, Query as QueryType } from '../../../../../shared-logic/src/Query/types';
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
import { Result as ResultType } from '../../../../../shared-logic/src/Result/types';
import { Params } from '../../../types';
export declare const toQueries: (additionalFilter: AdditionalFilter, dataSets: DataSet[], queryEngineConfig: QueryEngineConfig, params: Params) => {
    queries: (QueryType | PreparedQuery)[];
    resultFields: Array<ResultType.Field[]>;
};
export declare function getOptionsFilters(additionalFilter: AdditionalFilter, field: {
    dataSetId: string;
    fieldId: string;
}): QueryType['filter'];
export declare function getOptionsOrders(dataSetField: DataSet.Field): QueryAttributes.Order[] | [];
