import { BaseRoomConfig, JoinRoom, RelayConfig, StrategyMessage, pauseRelayReconnection, resumeRelayReconnection, selfId } from "@trystero-p2p/core"; export type * from "@trystero-p2p/core"; //#region src/index.d.ts type WsRelayConfig = Omit & { urls: string[]; }; type WsRelayRoomConfig = BaseRoomConfig & { relayConfig: WsRelayConfig; }; type WsRelayClientMessage = { type: 'subscribe'; topic: string; } | { type: 'unsubscribe'; topic: string; } | { type: 'publish'; topic: string; payload: StrategyMessage; }; type WsRelayServerMessage = { topic: string; payload: StrategyMessage; }; declare const joinRoom: JoinRoom; declare const getRelaySockets: any; //#endregion export { WsRelayClientMessage, WsRelayConfig, WsRelayRoomConfig, WsRelayServerMessage, getRelaySockets, joinRoom, pauseRelayReconnection, resumeRelayReconnection, selfId }; //# sourceMappingURL=index.d.mts.map