import { IUser } from '../models';
export type IAMStateProps = {
    user?: IUser;
    token?: string;
    loginRoute?: string;
};
export declare const useIAM: (props?: IAMStateProps) => {
    user: IUser | undefined;
    token: string | undefined;
    loginAndNavigate: (token: string, logout: () => void, refresh: (token: string) => void, navigate?: (location: string, e?: any, resetPortals?: boolean) => void, homeRoute?: string) => Promise<void>;
    setLogin: (user: IUser, token: string) => void;
    logout: () => void;
};
export default useIAM;
