open-agreements
Version:
Open-source legal template filling CLI and library
16 lines • 814 B
TypeScript
/**
* Inline-run emitter.
*
* Shipped: text runs with full RunProps formatting, tab and break runs, and
* complete five-part complex fields. A FieldSpec compiles to
* begin → instruction text → separate → cached result → end so reading
* applications always display a value without recomputation prompts — the
* required `cachedResult` makes the no-recovery-dialog property
* unrepresentable-by-omission. `w:dirty` is never set (it triggers
* update-fields prompts in some readers).
*/
import type { InlineSpec } from '../types.js';
import type { BlockEmitContext } from './emit-context.js';
/** Build the w:r element(s) for one inline spec node. */
export declare function buildInlineRuns(doc: Document, inline: InlineSpec, ctx?: BlockEmitContext): Element[];
//# sourceMappingURL=run.d.ts.map