import { Component, Request } from '@pjblog/http'; import { UserDBO } from '../dbos/user'; import { ILoginControllerResponse } from './login'; import type { EntityManager } from 'typeorm'; interface IBody { account: string; password: string; } export declare class RegisterController extends Component { readonly manager: EntityManager; readonly configs: Configs; readonly service: UserDBO; constructor(req: Request); checkRegistable(): Promise; checkAccountExists(): Promise; add(): Promise; buildCache(): Promise; login(): Promise; send(): void; } import { Configs } from '../../configs/service'; export {};