UNPKG

sdg

Version:

pomelo ts

18 lines (17 loc) 626 B
import BackendSessionService from '../backendSessionService'; import { FRONTEND_ID, IFrontendSessionExport, IObject, ISession, SID, UID } from '../../..'; export declare class BackendSession implements ISession { id: SID; uid: UID; frontendId: FRONTEND_ID; settings: IObject; private sessionService; constructor(session: IFrontendSessionExport, service: BackendSessionService); bind(uid: UID): Promise<any>; unbind(uid: UID): Promise<any>; push(key: string): Promise<any>; pushAll(): Promise<any>; set(key: string, value: any): void; get(key: string): any; export(): any; }