import { JSONNode } from './types'; /** * Injects arbitrary content as a child of type 'slot' after the first instance found with the type name specified. * This is useful for inserting content within an article that is not specified in the JSON data. * Slot content is passed unmodified through the renderer. Only acts on the root level children. */ export declare const injectSlotAfter: (data: JSONNode, afterType: FindStringOrFunction, slotContent: JSX.Element) => JSONNode; export declare const injectSlotBefore: (data: JSONNode, beforeType: FindStringOrFunction, slotContent: JSX.Element) => JSONNode; export declare const injectSlot: (data: JSONNode, findType: FindStringOrFunction, slotContent: JSX.Element, insertAtOffset?: number) => JSONNode; type FindStringOrFunction = string | ((child: string | JSONNode) => boolean); export {};