/**
 * Processes NUMWORDS and NUMCHARS instructions into `sd:documentStatField` nodes.
 *
 * Follows the same pattern as page-preprocessor.js / num-pages-preprocessor.js:
 * captures rPr from content nodes first, falls back to field-sequence rPr.
 *
 * @param {import('../../v2/types/index.js').OpenXmlNode[]} nodesToCombine The nodes between separate and end.
 * @param {string} instrText The full instruction string (e.g. "NUMWORDS" or "NUMCHARS \* MERGEFORMAT").
 * @param {{ docx?: import('../../v2/docxHelper.js').ParsedDocx, instructionTokens?: Array<{type: string, text?: string}> | null, fieldRunRPr?: import('../../v2/types/index.js').OpenXmlNode | null }} [options]
 * @returns {import('../../v2/types/index.js').OpenXmlNode[]}
 */
export function preProcessDocumentStatInstruction(nodesToCombine: import('../../v2/types/index.js').OpenXmlNode[], instrText: string, options?: {
    docx?: import('../../v2/docxHelper.js').ParsedDocx;
    instructionTokens?: Array<{
        type: string;
        text?: string;
    }> | null;
    fieldRunRPr?: import('../../v2/types/index.js').OpenXmlNode | null;
}): import('../../v2/types/index.js').OpenXmlNode[];
//# sourceMappingURL=document-stat-preprocessor.d.ts.map