import { SalaxyContext } from "../../services/index"; /** Button to show the login screen for anonymous or to logout if the user is already authenticated. */ export declare class NgLoginComponent { private context; constructor(context: SalaxyContext); /** * If true, the session has been checked from the server - * i.e. isAuthenticated = false means that the user really * cannot be authenticated. */ readonly isSessionChecked: boolean; /** If true, the user is authenticated */ readonly isAuthenticated: boolean; /** Avatar to show in the login screen */ readonly avatar: any; /** The full session objcet */ readonly session: any; /** * Show the Login screen * @param redirectUrl - Redirect URL after the login. Defaults to root of the current site. * @param role - Default role if the user is going to Onboarding wizard for new users. * @param partnerSite - Identifier for the partenr site. */ signIn(redirectUrl?: string, role?: string, partnerSite?: any): void; /** Sign the current user out * @param redirectUrl - Optional redirect URL after the logout. Defaults to the root of the current site. */ signOut(redirectUrl?: string): void; }