import { HttpClient } from '@angular/common/http'; import { Observable, ReplaySubject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class ProductService { private http; product$: ReplaySubject; private headers; private config; private cache; constructor(http: HttpClient); private updateCache; private deleteCache; cacheToList(): Product[]; dotNotation(product: Product): {}; autocomplete(text: string, params?: any): Observable; search(text: string, params?: any): Observable; select(params?: any): Observable; findByLocationCategoryAndDetail(category: any, detail: any): Observable; findByCategoryAndDetail(category: any, detail: any): Observable; findByLocationAndCategory(location: any, category: any): Observable; findLove(params?: any): Observable; findByDetails(details: any, params?: any): Observable; findByAttribute(attribute: any, params?: any): Observable; findByLocation(location: any): Observable; findByCategory(category: string, params?: any): Observable; findBySku(sku: any): Observable; history(sku: any): Observable; get(sku: any): Observable; remove(sku: number, password: string): Observable; create(prod: Product, shopowner: string): Observable; save(prod: Product): Observable; private handleError; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export interface ProductPortion { part: number; unit: string; offset: number; isWeight: boolean; } export declare class Product { constructor(json?: any); deleted: boolean; title: string; variants: any[]; sku: number; slug: string; updated: Date; created: Date; categories: any; vendor: any; bundle?: [ { title: string; note: string; vendor: string; price: number; active?: boolean; } ]; faq?: [ { q: string; a: string; updated: Date; } ]; recipes: string[]; photo: { url: string; colors: any[]; }; pricing: { discount: number; price: number; part: string; tva: number; stock: number; }; shelflife: { display: boolean; comment: string; }; quantity: { display: boolean; comment: string; }; attributes: { lastMinute: boolean; discount: boolean; weight: number; comment: boolean; available: boolean; home: boolean; boost: boolean; customized: boolean; bundle: boolean; subscription: boolean; business: boolean; timelimit: number; }; details: { keywords: string; internal: string; description: string; origin: string; biodegradable: boolean; vegetarian: boolean; bioconvertion: boolean; biodynamics: boolean; grta: boolean; bio: boolean; local: boolean; nitrite: boolean; natural: boolean; homemade: boolean; handmade: boolean; gastronomy: boolean; cold: boolean; gluten: boolean; lactose: boolean; depositreturn: boolean; }; belong: { name: string; weight: number; }; stats: { score: number; sales: number; issues: number; }; hasFixedPortion(): boolean; getPortionParts(delta?: number): ProductPortion; round1cts(value: number): number; getPrice(): number; isDiscount(): boolean; isAvailableForOrder(): boolean; } //# sourceMappingURL=product.service.d.ts.map