import { BaseEntity } from 'typeorm'; import type { Constructor } from '../base/abilities'; import type { UserProfile } from './auth/user.entities'; export declare class UserRegister { static Entity: Constructor | any; static onProfileCreate: (profile: UserProfile) => Promise; static onProfileDelete: (profile: UserProfile) => Promise; static regCoreUserCreator(Entity: Constructor | any, onProfileCreate?: (profile: UserProfile) => Promise, onProfileDelete?: (profile: UserProfile) => Promise): void; static createUserByProfile(profile: UserProfile): Promise; static removeUserByProfile(profile: UserProfile): Promise; }