import { Type } from '@nestjs/common'; import { Observable } from 'rxjs'; import { IEvent } from '../interfaces'; /** * Filter values depending on their instance type (comparison is made * using native `instanceof`). * * @param types List of types implementing `IEvent`. * * @return A stream only emitting the filtered instances. */ export declare function ofType[]>(...types: T): (source: Observable) => Observable ? I : never : never : never>;