import { Emitter } from "@socket.io/component-emitter"; export declare function on(obj: Emitter, ev: string, fn: (err?: any) => any): VoidFunction;