import { EntityDTO } from './types'; /** * Base CRUD conversion service from which all generated conversion services inherit * @template Entity The entity class to perform the conversions on */ export declare abstract class CrudConversionService { /** * Blacklisted non-relation properties * All properties listed here are arrays that are *not* relations * See the `.dynamicEntityToDto()` method of this class for more informations */ private readonly _blacklisted; /** * Generate a DTO from the primary properties of an entity and its relations * NOTE: This method has a notable performance cost * @param entity An entity object * @returns A promise holding the related DTO */ dynamicEntityToDto(entity: Entity): Promise>; }