import type { ECSession } from '../types';
import { type IncomingMessage, type ServerResponse } from 'http';
import { type Logger } from '@applitools/logger';
import { type ReqProxy } from '../req-proxy';
import { type TunnelManager } from '../tunnels/manager';
type Options = {
    req: ReqProxy;
    tunnels?: TunnelManager;
};
export declare function makeEndSession({ req, tunnels }: Options): ({ session, request, response, logger, }: {
    session: ECSession;
    request: IncomingMessage;
    response: ServerResponse;
    logger: Logger;
}) => Promise<void>;
export {};
