import { DOMApi, ComponentLike, RenderableElement } from './types';
import { MergedCell } from './reactive';

/**
 * Get the first DOM node from a component or array of components/nodes.
 * Used for positioning during list updates and relocations.
 */
export declare function getFirstNode(api: DOMApi, rawItem: Node | ComponentLike | Array<Node | ComponentLike>): Node;
/**
 * Render an element (primitive, node, or component) to a target node.
 * This is the core rendering function used throughout the framework.
 */
export declare function renderElement(api: DOMApi, ctx: ComponentLike, target: Node, el: RenderableElement | RenderableElement[] | MergedCell, placeholder?: Comment | Node | null, skipRegistration?: boolean): void;
