import { Entity, EntityResolver } from '../../model'; import { HasOneDefinition } from '../relation.types'; export declare function hasOne(targetResolver: EntityResolver, definition?: Partial): (decoratedTarget: object, key: string) => void;