/** @hidden */ export declare const createEventEmitter: () => import("mitt").Emitter; export declare const proxyMqttEvents: (mqttClient: Amity.Client['mqtt'], emitter: Amity.Client['emitter']) => void; /** * Standardize the subscription of SSE through web sockets * * @param client The current client for which to subscribe the event to * @param namespace A unique name for the logger * @param event The websocket event name * @param fn A wrapper for the callback. * @returns A dispose function to unsubscribe to the event * * @category Transport * @hidden */ export declare const createEventSubscriber: (client: Amity.Client, namespace: string, event: T, fn: Amity.Listener) => Amity.Unsubscriber; export declare const createMqttMessageSubscriber: (client: Amity.Client, namespace: string, event: T, fn: (params: Record) => void) => Amity.Unsubscriber; /** * Wrapper around dispatch event * * @hidden */ export declare const fireEvent: (event: T, payload: Amity.Events[T]) => void; //# sourceMappingURL=events.d.ts.map