import { AxiosInstance } from 'axios'; import { IRegisterWithEmailAndPassword } from '../entities/register-with-email-and-password.entity'; declare class PersonApi { axios: AxiosInstance; constructor(token?: string); getMe: (params?: { [key: string]: string; }) => Promise>; updateMe: (userId: string, params: any) => Promise>; getPersons: (page?: number, itemsPerPage?: number) => Promise>; disablePerson: (id: string) => Promise>; enablePerson: (id: string) => Promise>; changePassword: (oldPassword: string, password: string, passwordRepeat: string) => Promise>; getFavorites: (id: string, itemsPerPage?: number, page?: number) => Promise>; postAddress: (data: any) => Promise>; updateAddress: (id: string, data: any) => Promise>; deleteAddress: (id: string) => Promise>; postUserPicture: (id: string, idPicture: string, media: any) => Promise>; registerWithEmailAndPassword: (data: IRegisterWithEmailAndPassword) => Promise>; } export { PersonApi };