import { ProviderInterface$Emitted, ProviderInterface$EmitCb } from '../types'; import { MockState } from './types'; export default function on(self: MockState, type: ProviderInterface$Emitted, sub: ProviderInterface$EmitCb): void;