import { IModelRef } from '../interfaces/IModelRef'; import { PureCollection } from '../PureCollection'; import { PureModel } from '../PureModel'; export declare class ToOne { protected __collection?: PureCollection | undefined; protected __readonly: boolean; protected __model?: PureModel | undefined; protected __key?: string | undefined; protected __skipMissing: boolean; private __rawValue; constructor(data: T | IModelRef | null, __collection?: PureCollection | undefined, __readonly?: boolean, __model?: PureModel | undefined, __key?: string | undefined, __skipMissing?: boolean); setCollection(value: PureCollection | undefined): void; get value(): T | null; set value(data: T | null); get refValue(): IModelRef | null; toJSON(): IModelRef | null; get snapshot(): IModelRef | null; protected __getModel(model: T | IModelRef | null): T | null; }