import React from 'react';
import { QueryClient } from 'react-query';
export declare type SynapseContextType = {
    accessToken?: string;
    isInExperimentalMode: boolean;
    utcTime: boolean;
};
/**
 * This must be exported to use the context in class components.
 */
export declare const SynapseContext: React.Context<SynapseContextType | undefined>;
export declare type SynapseContextProviderProps = {
    synapseContext?: SynapseContextType;
    queryClient?: QueryClient;
};
/**
 * Provides context necessary for most components in SRC
 * @param param0
 * @returns
 */
export declare const SynapseContextProvider: React.FunctionComponent<SynapseContextProviderProps>;
export declare const SynapseContextConsumer: React.Consumer<SynapseContextType | undefined>;
export declare function useSynapseContext(): SynapseContextType;
