import type { Event } from './types/event/Event.ts'; export declare function createWebSocketConnection({ ip, accessToken, rejectUnauthorized, callback, }: { ip: string; accessToken: string; rejectUnauthorized: boolean; callback: (o: Event) => void | Promise; }): { close(): void; };