import { User } from '../entities/user.entity'; import { UserService } from './user.service'; import { JwtToken } from '../auth/jwt-token.interface'; import { ConfigService } from '@sierralabs/nest-utils'; import { UpdateResult } from 'typeorm'; export declare class UserController { protected readonly userService: UserService; protected readonly configService: ConfigService; constructor(userService: UserService, configService: ConfigService); login(email: string, password: string): Promise; logout(): Promise; create(user: User): Promise; register(user: User): Promise; update(id: number | string, user: User, request: any): Promise; remove(id: number, request: any): Promise; getOne(id: number | string, request: any): Promise; getAll(page?: number, limit?: number, order?: string, search?: string, includeDeleted?: boolean): Promise<[User[], number]>; getCount(search?: string, includeDeleted?: boolean): Promise; }