import { Observable } from 'rxjs/Observable'; import { Subject } from 'rxjs/Subject'; import 'rxjs/add/operator/map'; import { Offer } from './offer'; import { ApiProvider } from '../api/api.provider'; export declare class OffersProvider { apiProvider: ApiProvider; _offers$: Subject; dataStore: { offers: Offer[]; }; readonly offers$: Observable; constructor(apiProvider: ApiProvider); initOffers(tenantId: string, storeId: string): Promise; createOffer(tenantId: string, storeId: string, productId: string, name: string, description: string, discountedPrice: number, img_url: string): Promise; retrieveOffers(tenantId: string, storeId: string): Promise; retrieveOfferDetails(offerId: string): Promise; updateOffer(offerId: string, tenantId: string, storeId: string, productId: string, name: string, description: string, discountedPrice: number, img_url: string): Promise; deleteOffer(offerId: string): Promise; }