import type { EggProtoImplClass } from 'egg'; import type { LeoricBone } from './leoric.ts'; interface BonePatchInfo { id?: bigint; updatedAt?: Date; createdAt?: Date; } type PatchedBone = LeoricBone & BonePatchInfo; export declare class ModelConvertor { static convertEntityToModel(entity: object, ModelClazz: EggProtoImplClass, options?: object): Promise; static convertEntityToChanges(entity: object, ModelClazz: EggProtoImplClass): Partial>; static saveEntityToModel(entity: object, model: T & PatchedBone, options?: object): Promise; static convertModelToEntity(bone: LeoricBone, entityClazz: EggProtoImplClass, data?: object): T; } export {};