import { ActionCreator } from "@ngrx/store"; import { TypedAction } from "@ngrx/store/src/models"; import { Observable } from "rxjs"; declare type ActionCreatorOfResponseType = ActionCreator T & TypedAction>; declare type DecoratorFunc = (action: TProps) => Observable; export interface IOnObserveThenDispatchConfig { forAction: ActionCreatorOfResponseType; dispatch: ActionCreatorOfResponseType; dispatchOnFail: ActionCreatorOfResponseType | ActionCreator TypedAction>; } export declare function OnObserveThenDispatchEffect(config: IOnObserveThenDispatchConfig): >(target: T, propertyKey: K, descriptor: TypedPropertyDescriptor>) => void; export {};