import type { Function, Node, RenderableTreeNode, Variable } from '@markdoc/markdoc'; import type { GetInnerContentFnOptions } from '../../types/index.js'; /** * Extracts and concatenates the inner text content from a tree of renderable nodes. * * The function recursively traverses various node types (primitives, Markdoc nodes, * tags, functions, and variables) and collects their textual content into a single string. * It supports special handling for text, code, fence, table rows, examples, and conditional nodes. * * @param children - An array of renderable nodes (primitive values, Markdoc nodes, variables, or functions). * @param options - Options controlling the extraction behavior. * - `isTrim` (default: true): Whether to trim whitespace from each part and the final result. * - `skipConditionals`: If true, conditional nodes are skipped entirely. * - `variables`: Optional variable values to resolve `Variable` nodes. * * @returns A concatenated string of inner text extracted from the provided nodes. */ export declare function getInnerText(children: (RenderableTreeNode | Node | Variable | Function)[], options?: GetInnerContentFnOptions): string; //# sourceMappingURL=get-inner-text.d.ts.map