import { SaveableDashboardDefinition } from '../Dashboard/types';
import { DataSet } from '../DataSet/types';
import { IdentityConfig } from '../IdentityConfig/types';
import { DataMap } from '../JSQueryEngine/types';
import { QueryEngineConfig } from '../QueryEngineConfig/types';
declare type CallbackError = null;
export declare type programmaticDashboardCallback = (dataSets: DataSet[]) => Promise<Array<Partial<SaveableDashboardDefinition>>>;
export declare type loadDataSetsCallback<Ds = DataSet<DataSet.PreUpcastField>> = (identityConfig: IdentityConfig, queryEngineConfig: QueryEngineConfig) => Promise<Array<Ds>>;
export declare type IdentityTokens = {
    dashboardAccessToken: string;
    dataAccessToken?: string;
    queryEngineAccessToken?: string;
    projectAccessToken?: string | undefined;
};
export declare type identityCallback = () => Promise<IdentityTokens | CallbackError>;
export declare type loadQueryEngineConfigCallback = () => Promise<Omit<QueryEngineConfig, 'supportedTransformationFunctions'> | null>;
export declare type loadDataCallback = (dataSet: DataSet) => Promise<DataMap[] | CallbackError>;
export {};
