UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

17 lines (16 loc) 1.02 kB
import { EventService, ProductSearchService, ProductService } from '@spartacus/core'; import { Observable } from 'rxjs'; import { CategoryPageResultsEvent, ProductDetailsPageEvent, SearchPageResultsEvent } from './product-page.events'; import * as i0 from "@angular/core"; export declare class ProductPageEventBuilder { protected eventService: EventService; protected productService: ProductService; protected productSearchService: ProductSearchService; constructor(eventService: EventService, productService: ProductService, productSearchService: ProductSearchService); protected register(): void; protected buildProductDetailsPageEvent(): Observable<ProductDetailsPageEvent>; protected buildCategoryResultsPageEvent(): Observable<CategoryPageResultsEvent>; protected buildSearchPageResultsEvent(): Observable<SearchPageResultsEvent>; static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageEventBuilder, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ProductPageEventBuilder>; }