import WarpAPI from '../index'; import User from '../classes/user'; import Session from '../classes/session'; import ClassCollection from '../utils/class-collection'; import { GetOptionsType, FindOptionsType, CreateOptionsType, UpdateOptionsType, DestroyOptionsType, LoginOptionsType, MeOptionsType, LogoutOptionsType } from '../types/users'; export default class UserController { _api: WarpAPI; constructor(api: WarpAPI); find({select, include, where, sort, skip, limit}: FindOptionsType): Promise>; get({id, select, include}: GetOptionsType): Promise; create({Warp, metadata, currentUser, keys}: CreateOptionsType): Promise; update({Warp, metadata, currentUser, keys, id}: UpdateOptionsType): Promise; destroy({Warp, metadata, currentUser, id}: DestroyOptionsType): Promise; logIn({Warp, metadata, currentUser, username, email, password}: LoginOptionsType): Promise; me({currentUser}: MeOptionsType): Promise; logOut({Warp, sessionToken}: LogoutOptionsType): Promise; }