import React from 'react';
import { IAuth, IUser } from '@elacity-js/lib';
export interface AuthenticationContextValue<T, P extends IUser.ProfileBase<T>> extends IAuth.IConnector<T, P> {
}
declare const AuthenticationContext: React.Context<AuthenticationContextValue<any, IUser.ProfileBase<any>>>;
export default AuthenticationContext;
export interface AuthenticationProviderProps<T, P extends IUser.ProfileBase<T>> {
    connector: IAuth.IConnector<T, P>;
}
export declare const AuthenticationProvider: <T, P extends IUser.ProfileBase<T>>({ connector, children }: React.PropsWithChildren<AuthenticationProviderProps<T, P>>) => JSX.Element;
