import { IncomingHttpHeaders } from 'node:http'; import { ContextProvider, RequestContextData } from '../context/types/request-context.type'; import { SessionHeaderAuthenticationManager } from '../../security'; import { AuthenticationHook } from './types/hook.type'; import { Logger } from '../..'; export declare class SessionHeaderAuthenticationHook implements AuthenticationHook { private authenticationManager; private contextProvider; private logger; constructor(opts: { authenticationManager: SessionHeaderAuthenticationManager; contextProvider: ContextProvider; logger: Logger; }); authenticate(): (request: { headers: IncomingHttpHeaders; query?: any; }) => Promise; }