import { ProviderInterface$Callback } from '../types'; import { WsState } from './types'; export default function send(self: WsState, method: string, params: Array, subscription?: ProviderInterface$Callback): Promise;