import { type IContentItem, type IContentItemElements } from "@kontent-ai/delivery-sdk"; import type { IUpdateMessageData } from "../lib/IFrameCommunicatorTypes"; /** * Applies an update to a content item synchronously. * This function takes a content item and an update message, and returns a new content item with the updates applied. * The update is applied recursively to all linked items within the content item. */ export declare const applyUpdateOnItem: (item: IContentItem, update: IUpdateMessageData) => IContentItem; /** * Applies an update to a content item asynchronously and loads newly added linked items. * This function takes a content item, an update message, and a function to fetch linked items, * and returns a promise that resolves to a new content item with the updates applied. * The update is applied recursively to all linked items within the content item. */ export declare const applyUpdateOnItemAndLoadLinkedItems: (item: IContentItem, update: IUpdateMessageData, fetchItems: (itemCodenames: ReadonlyArray) => Promise>) => Promise>;