import { ICommandHandler } from '@nestjs/cqrs'; import { IUser } from '@metad/contracts'; import { ConfigService } from '@metad/server-config'; import { UserCreateCommand } from '../user.create.command'; import { UserService } from '../../user.service'; import { I18nService } from 'nestjs-i18n'; export declare class UserCreateHandler implements ICommandHandler { private readonly userService; private readonly i18n; protected readonly configService: ConfigService; protected readonly saltRounds: number; constructor(userService: UserService, i18n: I18nService); execute(command: UserCreateCommand): Promise; getPasswordHash(password: string): Promise; }