import { C8oCore } from "./c8oCore";
import { C8oSessionStatus } from './c8oSessionStatus';
import { Semaphore } from './c8oUtilsCore';
import { C8oSessionUser } from './C8oSessionUser';
export declare class C8oManagerSession {
    c8o: C8oCore;
    private _status;
    private id;
    private loginManager;
    private checker;
    private _user;
    private _olduser;
    private ignored;
    private resumeListener;
    mutex: Semaphore;
    mutexNetwork: Semaphore;
    mutexCheckSession: Semaphore;
    private sessId;
    constructor(c8o: C8oCore);
    status: C8oSessionStatus;
    user: C8oSessionUser;
    readonly olduser: C8oSessionUser;
    setInitalState(): Promise<void>;
    getInitalState(): Promise<void>;
    sort(response: any, headers: any, urlReq: any, parametersReq: any, headersReq: any, resolve?: any, status?: any): Promise<boolean>;
    doAuthReachable(): Promise<void>;
    defineSessionStatus(response: any, headers: any, urlReq: any, parametersReq: any, headersReq: any, fromSetInitalState?: any): Promise<C8oSessionStatus>;
    private checkUser;
    checkSession(headers: any, time: number, resolve?: any, fromSetInitalState?: any): Promise<void>;
}
