import { Entity } from '../../model'; import { EntityCrudRepository } from '../../repositories'; import { Getter, HasOneDefinition, InclusionResolver } from '../relation.types'; /** * Creates InclusionResolver for HasOne relation. * Notice that this function only generates the inclusionResolver. * It doesn't register it for the source repository. * * Notice: scope field for inclusion is not supported yet. * * @param meta - resolved HasOneMetadata * @param getTargetRepoDict - dictionary of target model type - target repository * i.e where related instances for different types are */ export declare function createHasOneInclusionResolver(meta: HasOneDefinition, getTargetRepoDict: { [repoType: string]: Getter>; }): InclusionResolver;