import React from 'react'; import { AxiosError } from 'axios'; import { GlobalDelegationType } from 'types'; import { processGlobalDelegation } from './processGlobalDelegation'; import { KeyedMutator } from 'swr'; export interface GlobalDelegationContextPropsType { globalStats: ReturnType; globalDelegationData: GlobalDelegationType | null; globalDelegationDataLoading: boolean; globalDelegationDataError: AxiosError | null; refetchGlobalDelegationData: KeyedMutator; } interface GlobalDelegationContextProviderPropsType { children: React.ReactNode; } export declare const GlobalDelegationContext: React.Context; export declare function GlobalDelegationContextProvider({ children }: GlobalDelegationContextProviderPropsType): JSX.Element; export declare function useGlobalDelegationContext(): GlobalDelegationContextPropsType; export {}; //# sourceMappingURL=GlobalDelegationContext.d.ts.map