import { ICommonsSession } from 'tscommons-session'; import { CommonsSessionService } from 'nodecommons-security'; import { CommonsRestServer } from '../servers/commons-rest.server'; import { TCommonsContentHandler } from '../types/tcommons-content-handler'; import { TCommonsNoContentHandler } from '../types/tcommons-no-content-handler'; import { CommonsRestApi } from './commons-rest.api'; export declare abstract class CommonsRestSessionApi> extends CommonsRestApi { protected sessionService: S; constructor(restServer: CommonsRestServer, sessionService: S); protected validate(sid: string): Promise | undefined>; installSession(sessionQuery: string): void; private wrapNoContentHandler; private wrapContentHandler; protected getSessionHandler(query: string, handler: TCommonsContentHandler): void; protected postSessionHandler(query: string, handler: TCommonsContentHandler): void; protected patchSessionHandler(query: string, handler: TCommonsContentHandler): void; protected putSessionHandler(query: string, handler: TCommonsContentHandler): void; protected deleteSessionHandler(query: string, handler: TCommonsContentHandler): void; protected headSessionHandler(query: string, handler: TCommonsNoContentHandler): void; }