/** * The docx.js renderer. * * This is the only place in `core-docx` production code that may import `docx` * once the migration completes. It consumes DocxIR and nothing else — no author * JSON, no `ProcessedDocument`, no theme lookups. * */ import { Document } from 'docx'; import type { DocxIR } from '../../ir/types'; import type { DocxRenderer, DocxRendererId } from '../types'; import { type EmitResources } from './emit'; export declare const DOCXJS_RENDERER_ID: DocxRendererId; export declare function createDocxJsRenderer(): DocxRenderer; /** * Build the docx.js object graph for an IR document. * * Exported for tests: asserting on the object graph is far cheaper, and far * more legible, than unzipping a package. */ export declare function buildDocument(ir: DocxIR, resources?: EmitResources): Document; //# sourceMappingURL=index.d.ts.map