UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

7 lines (6 loc) 279 B
import { Element } from "xml-js"; export declare const findRunElementIndexWithToken: (paragraphElement: Element, token: string) => number; export declare const splitRunElement: (runElement: Element, token: string) => { readonly left: Element; readonly right: Element; };