import type { MonoTypeOperatorFunction } from 'rxjs'; /** * Call the provided tap function if the source completes without emitting anything * @param tapFn The tap function * @param thisArg An optional thisArg * @kind Operator * @since 2.1.0 * @see https://rxjs.dev/api/operators/tap * @example * import {of, EMPTY} from 'rxjs'; * import {tapIfEmpty} from '@aloreljs/rxutils/operators'; * * let tapped = false; * EMPTY * .pipe(tapIfEmpty(() => { * tapped = true; * })) * .subscribe(); * // tapped is true * * tapped = false; * of(0) * .pipe(tapIfEmpty(() => { * tapped = true; * })) * .subscribe(); * // tapped is false */ export declare function tapIfEmpty(tapFn: () => void, thisArg?: any): MonoTypeOperatorFunction;