/** * @athenna/database * * (c) João Lenon * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import 'reflect-metadata'; import type { BaseModel } from '#src/models/BaseModel'; import type { HasOneOptions } from '#src/types/relations/HasOneOptions'; /** * Create has one relation for model class. */ export declare function HasOne(model: (() => new () => R) | string, options?: Omit, 'type' | 'model' | 'property'>): (target: T, key: string) => void;