import { Subject, Subscription } from 'rxjs'; /** * Use in components with the `@Output` directive to emit custom events * synchronously or asynchronously, and register handlers for those events * by subscribing to an instance. */ export declare class EventEmitter extends Subject { async: boolean; constructor(async?: boolean); /** * Emits an event containing a given value. * @param value The value to emit. */ emit(value?: T): void; /** * Registers handlers for events emitted by this instance. * @param generatorOrNext When supplied, a custom handler for emitted events. * @param error When supplied, a custom handler for an error notification * from this emitter. * @param complete When supplied, a custom handler for a completion * notification from this emitter. */ subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription; static ρAnn(): any; }