import { Observable } from '../Observable'; export declare function fromEventPattern(addHandler: (handler: Function) => any, removeHandler?: (handler: Function, signal?: any) => void): Observable; /** @deprecated resultSelector no longer supported, pipe to map instead */ export declare function fromEventPattern(addHandler: (handler: Function) => any, removeHandler?: (handler: Function, signal?: any) => void, resultSelector?: (...args: any[]) => T): Observable;