import { Observable, Subscription } from "rxjs";
/**
 * Creates an effect.
 *
 * This effect is subscribed to throughout the lifecycle of the ComponentStore.
 * @param generator A function that takes an origin Observable input and
 *     returns an Observable. The Observable that is returned will be
 *     subscribed to for the life of the component.
 * @return A function that, when called, will trigger the origin Observable.
 */
export declare function effectAction<ProvidedType = void, OriginType extends Observable<ProvidedType> | unknown = Observable<ProvidedType>, ObservableType = OriginType extends Observable<infer A> ? A : never, ReturnType = ProvidedType | ObservableType extends void ? () => void : (observableOrValue: ObservableType | Observable<ObservableType>) => Subscription>(generator: (origin$: OriginType) => Observable<unknown>): ReturnType;
