import { Session, SessionVariable } from './types'; import { RequestClient } from './request/RequestClient'; export declare class SessionManager { private serverUrl; private contextName; private requestClient; private loggedErrors; constructor(serverUrl: string, contextName: string, requestClient: RequestClient); private sessions; private currentContext; private _debug; private printedSessionState; get debug(): boolean; set debug(value: boolean); getSession(accessToken?: string): Promise; clearSession(id: string, accessToken?: string): Promise; private createSessions; private createAndWaitForSession; private setCurrentContext; private getHeaders; private waitForSession; private getSessionState; getVariable(sessionId: string, variable: string, accessToken?: string): Promise<{ result: SessionVariable; etag: string; status: number; }>; }