/** * Session Utils * * @export * @abstract * @class SessionUtils */ export declare abstract class SessionUtils { /** * Get anonymous from cookies or return a new one. * * @static * @return {string} Anonymous * @memberof SessionUtils */ static getAnonymous(): string; /** * Get session from cookies or return a new one. * * @static * @return {string} Session * @memberof SessionUtils */ static getSession(): string; /** * Get variant from cookies or requests a new one. * * @static * @param {string} userId * @return {string} Session * @memberof SessionUtils */ static getVariant(userId: string): Promise; /** * Checks if current session is a new one. * * @static * @return {boolean} True on new session. * @memberof SessionUtils */ static isNewSession(): boolean; }