import { Strategy } from './Strategy'; import { Context } from 'koa'; import { ValidationResult } from './results'; /** * session. * * @export * @class SessionStrategy * @extends {Strategy} */ export declare class SessionStrategy extends Strategy { /** * `SessionStrategy` constructor. * */ constructor(); /** * Authenticate request based on the current session state. * * The session authentication strategy uses the session to restore any login * state across requests. If a login session has been established, `req.user` * will be populated with the current user. * * This strategy is registered automatically by Passport. * */ authenticate(ctx: Context, options?: {}): Promise; static ρAnn(): any; }