import { LoginDto, PhoneDto, LoginSuccessResult } from './auth.model'; import { RestaurantService } from '~backend/business/restaurant/restaurant.service'; import { Restaurant } from '~backend/business/business.model'; import { UserService } from '~backend/user/user.service'; export declare class AuthService { private readonly restaurantService; private readonly userService; private readonly logger; constructor(restaurantService: RestaurantService, userService: UserService); validateUser(token: string): Promise; getProviderIds(payload: PhoneDto): Promise; getAccessToken(uid: any): Promise<{ accessToken: string; }>; private assignEmail; isPhoneExist(phone: string): Promise; loginByPhonePassword({ phoneNumber, password, }: LoginDto): Promise; getRestaurantByApiToken(apiToken: string): Promise; }