import React from 'react'; import { AuthContextType } from '../interfaces'; /** * A helper to create a Context and Provider with no upfront default value, and * without having to check for undefined all the time. */ export declare function createCtx(): readonly [() => A, React.Provider, React.Consumer]; /** * The AuthContext that allow access to Token object and fetchRefreshToken method */ export declare const useAuthContext: () => AuthContextType, AuthContextProvider: React.Provider, AuthContextConsumer: React.Consumer;