import { EventContext , TypedListeners } from '../event' ; import { DefaultRes } from '../request' ; export interface Managed < T extends TypedListeners < T > > { param { string } method param { DefaultRes } data param { EventContext < T > } parentCtx pushReceived ( method , data , parentCtx ) : Promise < void > ; }