import { CompiledMapping, Mapping } from 'strict-type-mapper'; import { SearchCriteria } from '../interfaces/search/search.criteria.interface'; import { SearchOptions } from '../interfaces/search/search.options.interface'; import { UpdateCriteria } from '../interfaces/update/update.criteria.interface'; /** * Represents a general object-entity mapper. * @type `T` covariant object type. * @type `A` covariant attached domain object type. * @type `E` invariant DB entity type. */ export declare class ObjectEntityMapper { private readonly typeMapper; private readonly compiledMapping; constructor(mapping: Mapping); /** Maps object criteria into entity criteria. */ mapSearchCriteria(criteria?: SearchCriteria): SearchCriteria; /** Maps search options into entity search options. */ mapSearchOptions(options?: SearchOptions): SearchOptions; /** Maps new detached object into detached entity. */ mapDetachedObjectToEntity(object: T): E; /** Maps object update into detached entity. */ mapUpdate(update: UpdateCriteria): UpdateCriteria; /** Maps entity into attached object. */ mapEntityToAttachedObject(entity: E): A; /** Gets compiled mappings. */ getCompiledMapping(): CompiledMapping; private mapInternal; private getTransformedValue; } //# sourceMappingURL=object.entity.mapper.d.ts.map