import { IPublicClientApplication } from "@azure/msal-browser";
import { BuildwiseUser } from "../../components/core/BuildwiseProvider/BuildwiseUser";
export interface BuildwiseAuthenticationHook {
    isAuthenticated: boolean;
    isAdmin: boolean;
    user?: BuildwiseUser;
    instance: IPublicClientApplication;
    login: (onSuccess?: () => void, onFailed?: () => void, onCancelled?: () => void) => void;
    loginRedirect: () => void;
    logout: () => void;
}
declare const useAuthentication: () => BuildwiseAuthenticationHook;
export default useAuthentication;
