import { type IOptiGraphClient, type ContentLink, type InlineContentLink } from "@remkoj/optimizely-graph-client"; import type { ContentType } from "../../types.js"; export type ContentTypeResolver = (type: ContentType | null | undefined, link: ContentLink, gqlClient: IOptiGraphClient) => PromiseLike; export declare function valueToPromiseLike(value: T): PromiseLike; /** * Resolve the ContentType of an Optimizely CMS Component, identified by its content link * * @param link The ContentLink of the content item * @param gqlClient The GraphQL client to use * @returns The ContentType, or undefined if it cannot be resolved */ export declare function getContentType(link: ContentLink | InlineContentLink, gqlClient: IOptiGraphClient): Promise; export default getContentType;