import { HalResource } from '../hal/models/HalResource'; import { HierarchyNodeModel, HierarchyNode } from './HierarchyNode'; import { ContentItemPublishingStatus } from './PublishingStatus'; import { ContentItem } from './ContentItem'; import { HalClient } from '../hal/services/HalClient'; export type HierarchyParentModelJson = HierarchyNodeModel & { /** * List of parents of this node */ parents: Array; }; export declare class HierarchyParents extends HalResource implements HierarchyParentModelJson { id: string; label: string; parentId: string | undefined; contentTypeUri: string; root: boolean; hasChildren: boolean; repositoryId: string; parents: Array; publishingStatus: ContentItemPublishingStatus | string; constructor(data: any); setClient(client: HalClient): void; toJson(): HierarchyParentModelJson; toJSON(): HierarchyParentModelJson; related: { contentItem: { /** * Retrieve the content item associated with this node */ get: () => Promise; }; }; }