import { MapNumberTo, MapStringTo, Nullable, Object_Unknown } from "../../../base-types"; import { IContentHubClient } from "../../../clients/content-hub-client"; import { ChildRelationBase, IChildRelation } from "../relation"; import { RelationRole } from "../relation-role"; import { IToOneRelation } from "./to-one-relation"; export interface IChildToOneParentRelation extends IChildRelation, IToOneRelation { /** * The parent id or null. */ parent: Nullable; /** * Gets the properties for a parent. * * If no properties are found, an empty list is returned. */ getParentProperties(): MapStringTo; } export declare class ChildToOneParentRelation extends ChildRelationBase implements IChildToOneParentRelation { private _parent; readonly role: RelationRole; readonly isMultiValue: boolean; get isDirty(): boolean; get parent(): Nullable; set parent(id: Nullable); constructor(name: string, properties?: Nullable>>, client?: IContentHubClient, inheritsSecurity?: boolean); getIds(): Array; setIds(ids: Array): void; clear(): void; getId(): Nullable; setId(id: Nullable): void; setIdentifierAsync(identifier: Nullable): Promise; startTracking(): void; markClean(): void; getParentProperties(): MapStringTo; }