import type { DestroyRef } from '@angular/core'; import { Observable, Subscription, type TapObserver } from 'rxjs'; type Effect = Partial> | ((value: T) => void); type RxEffectOptions = { destroyRef: DestroyRef; }; export declare function rxEffect(source: Observable, effect: Effect, options?: RxEffectOptions): Subscription; export declare function rxEffect(source: Observable, options?: RxEffectOptions): Subscription; export {};