import { AxiosResponse } from 'axios'; import { AuthLoginRequestBody, SendPasswordLinkDto, SetPasswordRequestBody } from '../dto/authService.dto'; declare const AuthServices: { /** * This API called when user login with email and password * @param body contains email, password, and ip login * @returns AxiosResponse */ postLogin: (body: AuthLoginRequestBody) => Promise; /** * This API called when set password with token from email * @param body contains token and password * @returns AxiosResponse */ putSetPassword: (body: SetPasswordRequestBody) => Promise; /** * Used to send password link to user email for activation * @param body contains email and user * @returns AxiosResponse */ sendPasswordLink: (body: SendPasswordLinkDto) => Promise; reLogin: (body: { jwt: string; }) => Promise; }; export default AuthServices;