import { HttpClient } from '@angular/common/http'; import { Category } from './category.service'; import { User } from './user.service'; import { ReplaySubject, Observable, BehaviorSubject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class Shop { _id: string; deleted: boolean; urlpath: string; name: string; description: string; url: string; photo: { owner: string; bg: string; fg: string; logo: string; gallery: string[]; source: string; }; details: { bio: boolean; gluten: boolean; lactose: boolean; vegetarian: boolean; local: boolean; }; collect?: { streetAdress: string; postalCode: string; geo: { lat: number; lng: number; }; }; address: { depository: string; name: string; floor: string; phone: string; streetAdress: string; region: string; postalCode: string; geo: { lat: number; lng: number; }; }; catalog: Category; faq?: [ { q: string; a: string; updated: Date; } ]; available: { categories: string[]; active: boolean; from: Date; to: Date; weekdays: number[]; comment: string; }; discount: { amount: number; threshold: number; active: boolean; }; info: { detailledOrder: boolean; active: boolean; comment: { type: string; }; }; status: any; account: { businessName?: string; IBAN?: string; BIC?: string; fees?: number; tva: { number?: string; fees?: number; }; updated: Date; }; owner: User; scoring: { weight: number; orders: number; issues: number; score: number; }; created: Date; marketplace: string[]; constructor(json?: any); } export declare class ShopService { private http; shop$: ReplaySubject; shops$: BehaviorSubject | ReplaySubject; private config; private headers; private cache; constructor(http: HttpClient); private deleteCache; private updateCache; query(filter?: any): Observable; findByCatalog(cat: any, filter: any): Observable; get(urlpath: any): Observable; publish(shop: Shop): Observable; ask(shop: Shop, content: string): Observable; save(shop: Shop): Observable; create(shop: Shop): Observable; remove(shop: Shop, password: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=shop.service.d.ts.map