import { AdditionalFilter, FilterConfig, TimeRangeOptions } from '../../AdditionalFilter/types';
import { loadDataCallback } from '../../Callbacks/types';
import { QueryEngineConfig as QueryEngineConfigType } from '../../QueryEngineConfig/types';
import { Component } from '../../Component/types';
import { QueryAttributes } from '../../QueryAttributes/types';
import { PreparedQuery } from '../../Query/types';
import { Result } from '../../Result/types';
import { DataSet } from '../../DataSet/types';
import { IdentityConfig as IdentityConfigType } from '../../IdentityConfig/types';
import { VariableList } from '../../Variables/types';
import { AliasFields } from '../../AliasFields/types';
import { Query } from '@vizzly/sqlbuilder-public';
declare type CallbackError = null;
export declare type runQueriesCallback = (queries: Component.Attributes | AdditionalFilter | QueryAttributes[] | [PreparedQuery], params: {
    dataSets: DataSet[];
    abortSignal?: AbortSignal;
    dataAccessToken?: string;
    filterConfig?: FilterConfig;
}) => Promise<(Result | null)[] | Array<Result['content'] | null> | CallbackError>;
declare const getRunQueriesCallback: (identityConfig: IdentityConfigType, queryEngineConfig: QueryEngineConfigType, timeRangeOptions: TimeRangeOptions, variables: VariableList, aliasFields: AliasFields, runQueries?: ((queries: import("../../../../shared-logic/src/Query/types").Query[], params: {
    dataSets: import("../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../shared-logic/src/DataSet/types").DataSet.Field>[];
    abortSignal?: AbortSignal | undefined;
    dataAccessToken?: string | undefined;
    filterConfig?: import("@vizzly/services/src").FilterConfig | undefined;
}) => Promise<(import("../../../../shared-logic/src/Result/types").Result | any[][] | null)[] | null>) | undefined, data?: loadDataCallback | undefined, queryEngineEndpoint?: string | {
    endpoint: string;
    dynamicConfig?: Object | undefined;
    customHeaders?: (() => {
        [headerKey: string]: string;
    }) | undefined;
} | undefined, timeZone?: string | undefined, additionalCacheNamespaceContext?: object | undefined, hiddenDashboardFilters?: ((dataSet: DataSet) => Query['filter']) | undefined) => runQueriesCallback;
export default getRunQueriesCallback;
