import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core'; import { PlausibleProps } from 'mealz-shared-analytics'; import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import { EventTracerComponent } from '../../../_components/abstracts/event-tracer.component'; import { Recipe } from '../../../_models'; import { AnalyticsService, ContextService, RecipesService, UserService } from '../../../_services'; import { Icon } from '../../../_types/icon.enum'; import { RecipeFilter, RecipeFilters } from '../../../_types/recipe-filters'; import { RecipeCardComponent } from '../../recipe-cards'; import * as i0 from "@angular/core"; export declare class CatalogListComponent extends EventTracerComponent implements OnInit, OnDestroy, OnChanges { private recipesService; userService: UserService; private context; private cdr; filters: RecipeFilters; randomMode: boolean; modifiedGuests: number; displayInfos: boolean; displayPricing: boolean; displayGuests: boolean; helpButtonAllowed: boolean; addRecipeMode: boolean; excludedRecipesIds: string[]; displayRecipeVariant: number; addToMealsPlanner: EventEmitter; filterRemoved: EventEmitter; loading: BehaviorSubject; recipeCards: QueryList; currentRecipes: Recipe[]; lastPage: number; subscriptions: Subscription[]; icon: typeof Icon; noMoreRecipes: boolean; filtersToDisplay: any[]; currentRequestsCount: number; constructor(analyticsService: AnalyticsService, recipesService: RecipesService, userService: UserService, context: ContextService, cdr: ChangeDetectorRef); get sort(): string; protected get props(): PlausibleProps; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; currentPath(): string; autoloadContentIfNecessary(): void; loadMore(loader?: boolean): void; loadRecipesPage(page: number): Observable; processResults(results: Recipe[], requestFilters: RecipeFilters, page: number): Observable; removeFilter(filterName: string): void; buildFiltersArray(): string[]; getSelectedFilters(filtersArray: RecipeFilter[]): string[]; reloadPage(): void; ngOnDestroy(): void; isSearching(): boolean; isFieldEmpty(recipeFilter: RecipeFilter[]): boolean; isFiltering(): boolean; trackByFn(index: number, recipe: Recipe): any; private loadContent; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; } //# sourceMappingURL=catalog-list.component.d.ts.map