import type { Function, Node, RenderableTreeNode, Tag, Variable } from '@markdoc/markdoc';
import { GetInnerContentFnOptions } from '../types/index.js';
/**
 * concatenates text content from multiple nodes.
 * For example given this argument:
 * [
 *   'Example of ',
 *   {
 *     name: 'code',
 *     attributes: {},
 *     children: [ 'h1' ]
 *   },
 *   ' heading'
 * ]
 *
 * the function will return `Example of h1 heading` string
 */
export declare function getInnerText(children: (RenderableTreeNode | Node | Variable | Function)[], options?: GetInnerContentFnOptions): string;
export declare function getNodeAttribute<T = any>(node: Node | Tag, name: string): T | null;
export declare function getVariable(node: Variable, variables?: Record<string, any>): string;
export declare function setNodeAttributeValue(node: Node | Tag, name: string, value: unknown): void;
//# sourceMappingURL=markdoc.d.ts.map