import { IdentityConfig } from '../../../../shared-logic/src/IdentityConfig/types';
import { Dashboard } from '../../../../shared-logic/src/Dashboard/types';
import { QueryEngineConfig } from '../../../../shared-logic/src/QueryEngineConfig/types';
import { VizzlyComponents } from '../../../../shared-ui/src/types';
import { Mode, Scope } from '../useDashboardStrategy/types';
import { TextOverride } from '../../../../shared-logic/src/Translations/types';
import { ApiConfig } from '../../../../shared-logic/src/ApiConfig';
import { LoadedVizzlyHook } from '../../../../shared-ui/src/hooks/useVizzly';
import { VizzlyServicesProperties } from '../../../../services/src';
import { VizzlyTranslations } from '../../../../shared-logic/src/Translations/translation.types';
declare type Params = {
    parentDashboardId: string | undefined;
    identityCallback: VizzlyServicesProperties['identity'];
    loadDataSetsCallback: VizzlyServicesProperties['dataSets'];
    apiConfig: ApiConfig;
    dashboardId?: string;
    implementationMeta: VizzlyComponents.ImplementationMeta;
    queryEngine: VizzlyServicesProperties['queryEngine'];
    programmaticDashboard?: VizzlyServicesProperties['programmaticDashboard'];
    textOverride: TextOverride;
    isEditor?: boolean;
    developerMode?: boolean;
    textOverrides?: Partial<VizzlyTranslations>;
    extraCustomFields?: VizzlyServicesProperties['extraCustomFields'];
};
export declare type StillLoading = null;
export declare type ErrorProvided = {
    error: Error;
};
export declare type SessionSuccessProvidedValues = {
    mode: Mode;
    scope: Scope;
    identityConfig: IdentityConfig;
    dashboard: Dashboard | null;
    vizzlyApiConfig: VizzlyComponents.ApiConfig;
    queryEngineConfig: QueryEngineConfig;
    vizzly: LoadedVizzlyHook;
    isProgrammaticParent: boolean;
};
export declare const useSessionContext: (params: Params) => ErrorProvided | SessionSuccessProvidedValues | StillLoading;
export {};
