/** * DOCX blueprints: document archetypes as data, and the one operation that * turns one into a document. * * The registry is the JSON files under `templates/blueprints`: the bundled * ones are imported so a stale or missing `dist` cannot lose them, and the * directory is scanned for any other `*.docx.blueprint.json` beside it, so * adding a blueprint is a file. Each is validated against the shared * blueprint schema when this module loads, so a malformed one fails at import * rather than at scaffold time. What instantiating means — copying a variant, * carrying the definitions it invokes and their dependencies, listing every * `{{…}}` marker with its slot budget and guidance — is shared with the PPTX * core; this module only says what a document's root looks like: metadata * under `props.metadata`. Nothing here composes or styles. */ import { valueAt, type Blueprint, type BlueprintFillEntry, type InstantiateBlueprintOptions, type InstantiatedBlueprint } from '@json-to-office/shared'; /** Every bundled DOCX blueprint, by id. */ export declare const DOCX_BLUEPRINTS: Readonly>; export declare function docxBlueprint(id: string): Blueprint | undefined; export type { BlueprintFillEntry, InstantiateBlueprintOptions, InstantiatedBlueprint, }; export { valueAt }; export declare function instantiateDocxBlueprint(blueprint: Blueprint, options: InstantiateBlueprintOptions): InstantiatedBlueprint; //# sourceMappingURL=index.d.ts.map