import { BusinessService } from '~backend/business/business.service'; import { PermissionService } from '~backend/permission/permission.service'; import { Business, Restaurant, Warehouse, UpdateBusinessProfile, AdminUpdateBusiness, ChangeBusinessOwnerDto, UpdateCustomerDisplayImagesDto, UpdateBusinessAttributesDto } from '~backend/business/business.model'; import { RestaurantService } from '~backend/business/restaurant/restaurant.service'; import { WarehouseService } from '~backend/business/warehouse/warehouse.service'; import { BusinessCouchdbService } from '~backend/business/business-couchdb/business-couchdb.service'; import { Request } from 'express'; import { InventoryLocation } from '~backend/inventory/inventory.interface'; import { MailService } from '~backend/mail/mail.service'; import { UserService } from '~backend/user/user.service'; import { AgentService } from '~backend/agent/agent.service'; export declare class BusinessController { private readonly businessService; private readonly restaurantService; private readonly warehouseService; private readonly permissionService; private readonly businessCouchdbService; private readonly mailService; private readonly userService; private readonly agentService; constructor(businessService: BusinessService, restaurantService: RestaurantService, warehouseService: WarehouseService, permissionService: PermissionService, businessCouchdbService: BusinessCouchdbService, mailService: MailService, userService: UserService, agentService: AgentService); getAllBusiness(): Promise; validateOwner(userId: string, businessId: string): Promise; validateIsBusinessAgent(userId: string, businessId: string): Promise; validateHasBusinessPermission(userId: string, businessId: string): Promise; getBusiness(request: Request, businessId: string): Promise; updateBusinessProfile(businessId: string, profile: UpdateBusinessProfile): Promise; adminUpdateBusiness(businessId: string, payload: AdminUpdateBusiness): Promise; create(business: Business): Promise; delete(businessId: string): Promise; changeOwner(businessId: string, { userId }: ChangeBusinessOwnerDto): Promise; getRestaurantList(request: Request, businessId: string): Promise; getRestaurants(request: Request, businessId: string): Promise; createRestaurant(businessId: string, restaurant: Restaurant, req: Request): Promise; createWarehouse(businessId: string, warehouse: Warehouse): Promise; listLocations(businessId: string, req: Request): Promise; updateCustomerDisplay(businessId: string, body: UpdateCustomerDisplayImagesDto): Promise; updateBusinessAttributes(businessId: string, body: UpdateBusinessAttributesDto): Promise; }