import { Menu, Product, ProductChoiceGroup, Stock } from './../restaurant-manager.models'; import { ApiService } from './api.service'; import { Category, Order, Tag, VatRate } from '../restaurant-manager.models'; import { Observable } from 'rxjs'; import { HttpClient } from '@angular/common/http'; export interface MenuDataInterface { categories: Category[]; menus: Menu[]; products: Product[]; choices: ProductChoiceGroup[]; stocks: Stock[]; } export declare class SyncService { private apiService; private http; constructor(apiService: ApiService, http: HttpClient); syncTags(): Observable; syncVats(): Observable; syncCategories(restaurantId: string): Observable; syncMenu(restaurantId: string, filterBy?: 'menu' | 'pos' | 'web'): Promise; syncOrders(orders: Order[], restaurantId: string): Observable; getSessionUploadParameters(sessionId: string): Observable; uploadSession(url: string, data: any): Observable; }