@spartacus/core
Version:
Spartacus - the core framework
18 lines (17 loc) • 975 B
TypeScript
import { Actions } from '@ngrx/effects';
import { Observable } from 'rxjs';
import { GlobalMessageService } from '../../../global-message/facade/global-message.service';
import { CartVoucherConnector } from '../../connectors/voucher/cart-voucher.connector';
import { CartActions } from '../actions/index';
import * as i0 from "@angular/core";
export declare class CartVoucherEffects {
private actions$;
private cartVoucherConnector;
private messageService;
constructor(actions$: Actions, cartVoucherConnector: CartVoucherConnector, messageService: GlobalMessageService);
addCartVoucher$: Observable<CartActions.CartVoucherAction | CartActions.LoadCart | CartActions.CartProcessesDecrement>;
removeCartVoucher$: Observable<CartActions.CartVoucherAction | CartActions.LoadCart>;
private showGlobalMessage;
static ɵfac: i0.ɵɵFactoryDeclaration<CartVoucherEffects, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<CartVoucherEffects>;
}