import { ApiConfig } from 'base-api-service'; export declare class AuthHelper { private apiConfig; constructor(apiConfig: ApiConfig); /** * Determine if there is a user correctly logued in the app */ isUserLogged(): boolean; /** * Returns the name of the user logged in the app */ getUserLogged(): string | null; /** * Returns the token stored after login */ getToken(): string | null; /** * Add user id to the cookie * @param value the value of the user id * @param expiredTime the total seconds after the page should expire */ addUserInfo(value: string, expiredTime: number): void; /** * Add token to the cookie * @param value the value of the token * @param expiredTime the total seconds after the page should expire */ addTokenInfo(value: string, expiredTime: number): void; /** * Remove the user id from the cookie */ removeUserInfo(): void; /** * Remove the token from the cookie */ removeTokenInfo(): void; }