export declare namespace ModelsDb { function entityNameFromClassName(className: string): string; function getEntityNameByClassName(className: string): string; function getEntityNameByClassFN(classFN: Function): string; } export declare abstract class DBBaseEntity { protected readonly data?: Partial; /** * Please don not crate another construct in */ protected constructor(data?: Partial); abstract isEqual(anotherInstace: DBBaseEntity): boolean; /** * prepare instance just before save * prepare instance after retrieve raw data from be */ abstract prepareInstance(reason?: string): Promise>; abstract getRawData(): Promise; abstract assignProps(): void; get entityName(): string; static get entityName(): string; } export declare abstract class BaseController { protected crud: C; constructor(crud: C); abstract addExisted(recreateScope: S): Promise; abstract update(): Promise; }