import { MockState } from './types'; export default function subscribe(self: MockState, type: string, method: string, params: Array): Promise;