import type { PostextConfig } from '../types.js'; import { type WordTemplate } from './template.js'; export interface ExportChapter { title: string; markdown: string; } export interface WordStyleNames { /** `Callout: __name__` */ callout: string; /** `Callout: __name__: title` */ calloutTitle: string; /** `Chip: __name__` */ chip: string; } export declare const DEFAULT_STYLE_NAMES: WordStyleNames; export interface ExportSettings { template: WordTemplate; config: PostextConfig; /** Several chapters: each opens with a `Postext Chapter` paragraph so the * re-import rebuilds the book. */ book: boolean; title?: string; author?: string; names?: WordStyleNames; } /** Build the `.docx` bytes for chapters. */ export declare function postextToDocx(chapters: readonly ExportChapter[], settings: ExportSettings): Uint8Array; //# sourceMappingURL=toDocx.d.ts.map