import { BaseRelationship } from "./base"; import { RelationNullableModifier } from "./nullable"; /** * HasOne relationship defines a relationship between two entities * where the owner of the relationship has exactly one instance * of the related entity. * * For example: A user HasOne profile * * You may use the "BelongsTo" relationship to define the inverse * of the "HasOne" relationship */ export declare class HasOneWithForeignKey extends BaseRelationship { type: "hasOneWithFK"; $foreignKey: true; $foreignKeyName: OptionalForeignKeyName; static isHasOneWithForeignKey(relationship: any): relationship is HasOneWithForeignKey; /** * Apply nullable modifier on the schema */ nullable(): RelationNullableModifier, true>; } //# sourceMappingURL=has-one-fk.d.ts.map