UNPKG

sticky-horse

Version:

With StickyHorse allow your users to send feedback to your team.

9 lines (8 loc) 548 B
import { Socket } from 'socket.io-client'; export declare const initializeSocket: (userId: string, params?: { isTracking?: boolean; targetId?: string; page?: string; }, apiKey?: string) => Socket<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap> | null; export declare const getSocket: () => Socket<import("@socket.io/component-emitter").DefaultEventsMap, import("@socket.io/component-emitter").DefaultEventsMap> | null; export declare const disconnectSocket: () => void;