import { ChannelDef, ChannelSpecifier, EventNames, InType, OutType } from "./types-MZPjZmQI.js"; import Pusher from "pusher-js"; //#region src/client.d.ts type TypedPusherClient = { subscribe>(channelSpec: Ch): TypedChannel; disconnect(): void; }; type TypedChannel> = { bind>(event: Ev, handler: (payload: OutType) => void): void; unbind>(event: Ev): void; trigger>(event: Ev, data: InType): void; }; declare function createClient>(registry: Registry, pusher: Pusher.default): TypedPusherClient; //#endregion export { TypedChannel, TypedPusherClient, createClient }; //# sourceMappingURL=client-BXM4aGRh.d.ts.map