import { ObjectType, RelationOptions } from "../../"; /** * One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2. * Entity1 is an owner of the relationship, and storages Entity1 id on its own side. */ export declare function OneToOne(typeFunctionOrTarget: string | ((type?: any) => ObjectType), options?: RelationOptions): PropertyDecorator; /** * One-to-one relation allows to create direct relation between two entities. Entity1 have only one Entity2. * Entity1 is an owner of the relationship, and storages Entity1 id on its own side. */ export declare function OneToOne(typeFunctionOrTarget: string | ((type?: any) => ObjectType), inverseSide?: string | ((object: T) => any), options?: RelationOptions): PropertyDecorator;