import { Observable } from '../Observable'; import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { OperatorFunction } from '../types'; export declare function find(predicate: (value: T, index: number, source: Observable) => value is S, thisArg?: any): OperatorFunction; export declare function find(predicate: (value: T, index: number, source: Observable) => boolean, thisArg?: any): OperatorFunction; export declare class FindValueOperator implements Operator { private predicate; private source; private yieldIndex; private thisArg?; constructor(predicate: (value: T, index: number, source: Observable) => boolean, source: Observable, yieldIndex: boolean, thisArg?: any); call(observer: Subscriber, source: any): any; } /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ export declare class FindValueSubscriber extends Subscriber { private predicate; private source; private yieldIndex; private thisArg?; private index; constructor(destination: Subscriber, predicate: (value: T, index: number, source: Observable) => boolean, source: Observable, yieldIndex: boolean, thisArg?: any); private notifyComplete; protected _next(value: T): void; protected _complete(): void; }