export default class VelociousHttpServerWebsocketEvents {
    /**
     * Runs constructor.
     * @param {object} args - Options object.
     * @param {import("worker_threads").parentPort} args.parentPort - Parent port.
     * @param {number} args.workerCount - Worker count.
     */
    constructor({ parentPort, workerCount }: {
        parentPort: import("node:worker_threads").MessagePort | null;
        workerCount: number;
    });
    parentPort: import("node:worker_threads").MessagePort | null;
    workerCount: number;
    /**
     * Runs publish.
     * @param {string} channel - Channel name.
     * @param {?} payload - Payload data.
     * @returns {void} - No return value.
     */
    publish(channel: string, payload: unknown): void;
    /**
     * Fan-out entry point for `configuration.broadcastToChannel` on V2
     * channels. The worker posts to the main process, which fans out to
     * every worker so subscribers on any worker receive the broadcast.
     * @param {object} args - Options object.
     * @param {string} args.channel - Channel name.
     * @param {Record<string, ?>} args.broadcastParams - Filter params forwarded to `matches()`.
     * @param {?} args.body - Message body delivered via `sendMessage()`.
     * @returns {void}
     */
    publishV2Broadcast({ channel, broadcastParams, body }: {
        channel: string;
        broadcastParams: Record<string, unknown>;
        body: unknown;
    }): void;
}
//# sourceMappingURL=websocket-events.d.ts.map