import type { SingleThreaded } from '../init/cluster/SingleThreaded';
import type { ActivityEmitter } from '../server/notifications/ActivityEmitter';
import type { WebSocketHandlerInput } from '../server/WebSocketHandler';
import { WebSocketHandler } from '../server/WebSocketHandler';
/**
 * Provides live update functionality following
 * the Solid WebSockets API Spec solid-0.1.
 *
 * The `baseUrl` parameter should be the same one that is used to advertise with the Updates-Via header.
 */
export declare class UnsecureWebSocketsProtocol extends WebSocketHandler implements SingleThreaded {
    protected readonly logger: import("global-logger-factory").Logger<unknown>;
    private readonly path;
    private readonly listeners;
    constructor(source: ActivityEmitter, baseUrl: string);
    canHandle({ upgradeRequest }: WebSocketHandlerInput): Promise<void>;
    handle({ webSocket, upgradeRequest }: WebSocketHandlerInput): Promise<void>;
    private onResourceChanged;
}
