import { Observable } from 'rxjs'; import { Favorite, FavoriteData, FavoriteHandler, FindOptions, HandlerOptions } from '../favorite.model'; import { FavoritesService } from '../favorites.service'; export declare abstract class FavoriteHandlerBase implements FavoriteHandler { protected favoritesService: FavoritesService; abstract weight: number; abstract matchType(data: FavoriteData): string | null; constructor(favoritesService: FavoritesService); abstract find(data: FavoriteData, options?: FindOptions): Favorite | null; add(favorite: Favorite, options?: HandlerOptions): Observable; remove(favorite: Favorite, options?: HandlerOptions): Observable; edit(favorite: Favorite, options?: HandlerOptions): Observable; }