import { Types } from "mongoose"; /** * */ export declare type PitmartContextOptions = { userId: Types.ObjectId; userName: string; permissionLevel: number; roles: []; provider: string; refreshKey: string; iat: number; exp: number; }; export declare class IPitmartAppContext { sessionId: Types.ObjectId; token: string; userId: Types.ObjectId; userName: string; roles: string[]; remotehost?: string; organizationId?: Types.ObjectId; instanceId?: Types.ObjectId; subcriptionId?: Types.ObjectId; appId?: Types.ObjectId; appName?: string; permissionLevel: number; } export declare class IPitmartContext { private _sessionId; token: string; userId: Types.ObjectId; userName: string; roles: string[]; remotehost?: string; organizationId?: Types.ObjectId; instanceId?: Types.ObjectId; subcriptionId?: Types.ObjectId; appId?: Types.ObjectId; appName?: string; permissionLevel: number; path?: { separator?: string; }; application?: any; catalog?: any; isOsX?: any; isWin?: any; isNix?: any; provider: string; refreshKey: string; iat: number; exp: number; createdAt: Date; modifiedAt: Date; constructor(sessionId?: Types.ObjectId); /** ===================================================== PROPERTIES ===================================================== */ /** * get sessionId */ get sessionId(): Types.ObjectId; set sessionId(value: Types.ObjectId); /** ===================================================== METHODS ===================================================== */ update(options?: PitmartContextOptions): IPitmartContext; /** * init */ private init; /** * getPathSeparator * @returns */ private getPathSeparator; /** * * @returns */ getDBName(): string; } //# sourceMappingURL=IPitmartContext.d.ts.map