import { ContextOptions, EventOptions } from "@skhail/core"; import { HTTPServiceOptions, HTTPService } from "./HTTPService"; import { WebSocketFunctionArgs, WebSocketFunctions } from "../client/types"; export interface WebSocketServiceOptions { route: string; timeout: number; } export declare const defaultWebSocketOptions: WebSocketServiceOptions; export declare abstract class WebSocketService extends HTTPService { private readonly wsOptions; private requests?; private interval?; constructor(options?: Partial, serverOptions?: Partial); prepare(): Promise; cleanup(): Promise; private handleConnectionRequest; negociate>, Function extends Service[Key], Params extends WebSocketFunctionArgs>>({ method, args }: { method: Key; args: Params; }): Promise; }