import { RestaurantService } from '~backend/business/restaurant/restaurant.service'; import { BusinessCouchdbService } from '~backend/business/business-couchdb/business-couchdb.service'; import { CustomerRestaurant, CustomerRestaurantSetting } from '~backend/business/business.interface'; import { TagService } from '~backend/tag/tag.service'; import { Request as ExpressRequest } from 'express'; import { ORDER_TYPE } from '~backend/order/order.interface'; import { UserService } from '~backend/user/user.service'; import { MembershipService } from '~backend/marketing/membership/membership.service'; import { CustomerEffect } from '../customer-api.interface'; import { VoucherService } from '~backend/marketing/voucher/voucher.service'; import { AuthService } from '~backend/auth/auth.service'; import { ConfigService } from '@nestjs/config'; import { PublicSettingService } from '~backend/public-setting/public-setting.service'; import { CouchdbStaticService } from '~backend/couchdb/couchdb-static/couchdb-static.service'; export declare class RestaurantController { private readonly restaurantService; private readonly tagService; private readonly businessCouchdbService; private readonly userService; private readonly membershipService; private readonly voucherService; private readonly couchdbStaticService; private readonly authService; private readonly configService; private readonly publicSettingService; private readonly logger; constructor(restaurantService: RestaurantService, tagService: TagService, businessCouchdbService: BusinessCouchdbService, userService: UserService, membershipService: MembershipService, voucherService: VoucherService, couchdbStaticService: CouchdbStaticService, authService: AuthService, configService: ConfigService, publicSettingService: PublicSettingService); closeConnection(): void; get isDev(): boolean; /** * * discovery api */ getRestaurants(name?: string, business?: string, lat?: string, lng?: string, limit?: string, skip?: string): Promise; getById(restaurantId: string, lat?: number, lng?: number): Promise; getHeartbeatById(restaurantId: string): Promise; checkDelivery(restaurantId: string, lat: number, lng: number): Promise; private getPromotions; private getClaims; private getBenefits; getEffects(req: ExpressRequest, restaurantId: string, type: ORDER_TYPE): Promise; }