import { ExperienceComponentNode, ExperienceNode } from '../infer.js'; import { AnyContentType, PermittedTypes, MediaStringTypes } from '../model/contentTypes.js'; /** * Get the key or name of ContentType or Media type * @param t ContentType or Media type property * @returns Name of the ContentType or Media type */ export declare function getKeyName(t: PermittedTypes | AnyContentType): string; /** * Check if the keyName is a built‑in CMS baseTypes * @param key keyName of the content type * @returns boolean */ export declare function isBaseType(key: string): boolean; /** * Check if the keyName is a built-in CMS baseType. * @param key - The keyName of the content type. * @returns True if the key is a built-in CMS baseType format, otherwise return the original key. */ export declare function toBaseTypeFragmentKey(key: string): string; /** * Check if the keyName is a Media type * @param key keyName of the content type * @returns boolean */ export declare function isBaseMediaType(key: string): key is MediaStringTypes; export declare const CONTENT_URL_FRAGMENT = "fragment ContentUrl on ContentUrl { type default hierarchical internal graph base }"; export declare const DAM_ASSET_FRAGMENTS: string[]; /** * Generates and adds fragments for base types * @returns { fields, extraFragments } */ export declare function buildBaseTypeFragments(): { fields: string[]; extraFragments: string[]; }; export declare function isComponentNode(node: ExperienceNode): node is ExperienceComponentNode;