import { Action } from '@ngrx/store' ; import { Observable } from 'rxjs' ; import { DaffStoreFacade } from '@daffodil/core/state' ; import { DaffProduct } from '@daffodil/product' ; /**
 * A facade for getting state about a particular product.
 */ export interface DaffProductFacadeInterface < T extends DaffProduct = DaffProduct > extends DaffStoreFacade < Action > { deprecated prefer  DaffProductPageFacadeInterface loading$ : Observable < boolean > ; param id getProduct ( id ) : Observable < T > ; param id getPrice ( id ) : Observable < number > ; param id hasDiscount ( id ) : Observable < boolean > ; param id getDiscountAmount ( id ) : Observable < number > ; param id getDiscountedPrice ( id ) : Observable < number > ; param id getDiscountPercent ( id ) : Observable < number > ; param id isOutOfStock ( id ) : Observable < boolean > ; }