import { type FieldSpecification, type PublishedFieldSpecification } from '../schema/SchemaSpecification.js'; import type { Entity, EntityCreate, EntityLike, PublishedEntity, RichTextNode } from '../Types.js'; import type { ContentValuePath } from './ContentPath.js'; export declare function getEntityNameBase(name: string): string; export declare function isEntityNameAsRequested(currentName: string, requestedName: string): boolean; export declare function copyEntity | EntityCreate> | PublishedEntity | EntityLike>(entity: Readonly | T, changes: { id?: string; info?: Partial; fields?: Partial; }): Readonly; export declare function checkFieldTraversable(fieldSpec: FieldSpecification | PublishedFieldSpecification, value: unknown): { path: ContentValuePath; message: string; } | null; export declare function checkFieldItemTraversable(fieldSpec: FieldSpecification | PublishedFieldSpecification, value: unknown): { path: ContentValuePath; message: string; } | null; export declare function checkRichTextNodeTraversable(node: RichTextNode): { path: ContentValuePath; message: string; } | null;