import React from 'react';
import { SCUserContextType } from '../../../types';
/**
 * SCUserContext (Authentication Context)
 * Consuming this context in one of the following ways:
 *  1. <SCUserContext.Consumer>
 *       {(user, session, error, loading, logout, ...) => (...)}
 *     </SCUserContext.Consumer>
 *  2. const scUserContext: SCUserContextType = useContext(SCUserContext);
 *  3. const scUserContext: SCUserContextType = useSCUser();
 */
export declare const SCUserContext: React.Context<SCUserContextType>;
/**
 * Export the provider as we need to wrap the entire app with it
 * This provider keeps current user logged and session
 */
export default function SCUserProvider({ children }: {
    children: React.ReactNode;
}): JSX.Element;
/**
 * Let's only export the `useSCUser` hook instead of the context.
 * We only want to use the hook directly and never the context component.
 */
export declare function useSCUser(): SCUserContextType;
//# sourceMappingURL=index.d.ts.map