import { ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { Observable } from 'rxjs'; import { Recipe } from '../../_models'; import { RecipePricing } from '../../_models/recipe-pricing'; import { BasketsService, ContextService, PointOfSalesService, PriceService, RecipesService } from '../../_services'; import { CurrencyService } from '../../_services/currency.service'; import * as i0 from "@angular/core"; export declare class RecipePricingComponent implements OnChanges, OnInit, OnDestroy { private recipesService; private contextService; private posService; private cdr; private priceService; private basketsService; element: ElementRef; currencyService: CurrencyService; recipeId: string; recipeExtId: string; serves: number; guestsText: any; fetchPricingOnScroll: boolean; inViewport: boolean; priceSet: EventEmitter; pricing: RecipePricing; loading: boolean; integerPart: string; decimalPart: string; total: string; private pos; private subscriptions; private onChangesSubscription; private guests$; private isInView$; constructor(recipesService: RecipesService, contextService: ContextService, posService: PointOfSalesService, cdr: ChangeDetectorRef, priceService: PriceService, basketsService: BasketsService, element: ElementRef, currencyService: CurrencyService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; initPricing(): void; initRecipeForExtId(): Observable; openStoreLocator(e: Event): void; private updateRecipeGuests; private initPricingFromGuestsAndViewPort; private initPricingFromBasketChanges; private fetchPricing; private extractPricing; private format; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } //# sourceMappingURL=recipe-pricing.component.d.ts.map