import type { MonoTypeOperatorFunction, OperatorFunction } from 'rxjs'; /** * Act like rxjs' filter operator until the first time the predicate passes, then stop filtering and let * all emissions through * @param predicate The predicate function * @param thisArg Optional thisArg for the predicate function * @kind Operator * @since 2.1.0 * @see https://rxjs.dev/api/operators/filter * @example * import {of} from 'rxjs'; * import {filterUntilPasses} from '@aloreljs/rxutils/operators'; * * of(1, 2, 3, 1, 2, 3) * .pipe( * filterUntilPasses(v => v >= 3) * ) * .subscribe(console.log); * // Logs 3, 1, 2, 3 */ export declare function filterUntilPasses(predicate: (input: I) => any, thisArg?: any): MonoTypeOperatorFunction; /** * Act like rxjs' filter operator until the first time the predicate passes, then stop filtering and let * all emissions through * @param predicate The predicate function * @param thisArg Optional thisArg for the predicate function * @kind Operator * @since 2.1.0 * @see https://rxjs.dev/api/operators/filter * @example * import {of} from 'rxjs'; * import {filterUntilPasses} from '@aloreljs/rxutils/operators'; * * of(1, 2, 3, 1, 2, 3) * .pipe( * filterUntilPasses(v => v >= 3) * ) * .subscribe(console.log); * // Logs 3, 1, 2, 3 */ export declare function filterUntilPasses(predicate: (input: I) => any, thisArg?: any): OperatorFunction;