import { TextRun } from '../../../../../../../../layout-engine/contracts/src/index.js';
import { PMNode, PMMark, PositionMap, HyperlinkConfig, ThemeColorPalette } from '../../types.js';
import { InlineConverterParams } from './common.js';
/**
 * Converts a text PM node to a TextRun.
 *
 * @param node - PM text node to convert
 * @param positions - Position map for PM node tracking
 * @param defaultFont - Default font family
 * @param defaultSize - Default font size
 * @param inheritedMarks - Marks inherited from parent nodes
 * @param sdtMetadata - Optional SDT metadata to attach
 * @param hyperlinkConfig - Hyperlink configuration
 * @returns TextRun block
 */
export declare function textNodeToRun({ node, positions, storyKey, defaultFont, defaultSize, inheritedMarks, sdtMetadata, hyperlinkConfig, themeColors, enableComments, runProperties, inlineRunProperties, converterContext, }: InlineConverterParams): TextRun;
/**
 * Converts a token PM node (e.g., page-number) to a TextRun with token metadata.
 *
 * @param node - PM token node to convert
 * @param positions - Position map for PM node tracking
 * @param defaultFont - Default font family
 * @param defaultSize - Default font size
 * @param inheritedMarks - Marks inherited from parent nodes
 * @param token - Token type (e.g., 'pageNumber', 'totalPageCount')
 * @param hyperlinkConfig - Hyperlink configuration
 * @returns TextRun block with token metadata
 */
export declare function tokenNodeToRun(node: PMNode, positions: PositionMap, defaultFont: string, defaultSize: number, inheritedMarks: PMMark[] | undefined, token: TextRun['token'], hyperlinkConfig?: HyperlinkConfig, themeColors?: ThemeColorPalette, storyKey?: string): TextRun;
//# sourceMappingURL=text-run.d.ts.map