import { Observable } from '../Observable'; /** * Returns an Observable that emits the first item of the source Observable that matches the specified condition. * Throws an error if matching element is not found. * @param {function} predicate function called with each item to test for condition matching. * @returns {Observable} an Observable of the first item that matches the condition. */ export declare function first(predicate?: (value: T, index: number, source: Observable) => boolean, resultSelector?: (value: T, index: number) => R, defaultValue?: R): Observable | Observable;