import { AnyContentType } from './contentTypes.js'; /** Initializes the content type registry */ export declare function init(registry: AnyContentType[]): void; /** Get the Component from a content type name */ export declare function getContentType(name: string): AnyContentType | undefined; /** Get all the content types */ export declare function getAllContentTypes(): AnyContentType[]; /** Get the Component from a base type */ export declare function getContentTypeByBaseType(name: string): AnyContentType[]; /** * Check if a content type is registered in the registry. * Useful for validating content types before attempting to fetch or render them. * * @param key - The content type key to check * @returns true if the content type is registered, false otherwise * * @example * ```typescript * if (isContentTypeRegistered('BlogPage')) { * const content = await client.getContentByPath('/blog/post-1'); * } * ``` */ export declare function isContentTypeRegistered(key: string): boolean;