import { type WebSocketRoomId, type WebSocketUserId } from "./ws-core"; export type WebSocketAudience = { type: "all"; namespace?: string; } | { type: "room"; roomId: WebSocketRoomId; namespace?: string; } | { type: "user"; userId: WebSocketUserId; namespace?: string; } | { type: "connections"; connectionIds: string[]; namespace?: string; } | { type: "union"; audiences: WebSocketAudience[]; }; export declare const WebSocketAudience: { all(namespace?: string): WebSocketAudience; room(roomId: WebSocketRoomId, namespace?: string): WebSocketAudience; user(userId: WebSocketUserId, namespace?: string): WebSocketAudience; connections(connectionIds: string[], namespace?: string): WebSocketAudience; union(...audiences: WebSocketAudience[]): WebSocketAudience; }; //# sourceMappingURL=ws-audience.d.ts.map