import { Socket } from "socket.io"; import { InternalSocketEventNames } from "./constants"; import ClientState from "./client/state"; import ServerState from "./server/state"; interface IHandler { client?(this: ClientState, ...args: any): void; server?: (socket: Socket) => (this: ServerState, ...args: any) => void; } declare type IHandlers = { [key in InternalSocketEventNames]: IHandler; }; export declare const handlers: IHandlers; export declare const generateSocketEventHandlers: (side: "server" | "client", socket?: Socket | undefined) => void; export {}; //# sourceMappingURL=handlers.d.ts.map