import type { WebSocketHandlerInput } from '../../WebSocketHandler';
import { WebSocketHandler } from '../../WebSocketHandler';
import type { NotificationChannelStorage } from '../NotificationChannelStorage';
import type { WebSocket2023Handler } from './WebSocket2023Handler';
/**
 * Listens for WebSocket connections and verifies whether they are valid WebSocketChannel2023 connections,
 * in which case its {@link WebSocket2023Handler} will be alerted.
 */
export declare class WebSocket2023Listener extends WebSocketHandler {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    private readonly storage;
    private readonly handler;
    private readonly baseUrl;
    constructor(storage: NotificationChannelStorage, handler: WebSocket2023Handler, baseUrl: string);
    canHandle({ upgradeRequest }: WebSocketHandlerInput): Promise<void>;
    handle({ webSocket, upgradeRequest }: WebSocketHandlerInput): Promise<void>;
}
