import type { EntityData, EntityMetadata } from '../typings.js'; import { Hydrator } from './Hydrator.js'; import type { EntityFactory } from '../entity/EntityFactory.js'; type EntityHydrator = (entity: T, data: EntityData, factory: EntityFactory, newEntity: boolean, convertCustomTypes: boolean, schema?: string, parentSchema?: string, normalizeAccessors?: boolean) => void; /** @internal JIT-compiled hydrator that converts raw database rows into entity instances with optimized generated code. */ export declare class ObjectHydrator extends Hydrator { #private; /** * @inheritDoc */ hydrate(entity: T, meta: EntityMetadata, data: EntityData, factory: EntityFactory, type: 'full' | 'reference', newEntity?: boolean, convertCustomTypes?: boolean, schema?: string, parentSchema?: string, normalizeAccessors?: boolean): void; /** * @inheritDoc */ hydrateReference(entity: T, meta: EntityMetadata, data: EntityData, factory: EntityFactory, convertCustomTypes?: boolean, schema?: string, parentSchema?: string, normalizeAccessors?: boolean): void; /** * @internal Highly performance-sensitive method. */ getEntityHydrator(meta: EntityMetadata, type: 'full' | 'reference', normalizeAccessors?: boolean): EntityHydrator; private createCollectionItemMapper; private wrap; private safeKey; } export {};