import type { PostextConfig, PostextContent } from '../types.js'; import type { VDTDocument } from '../vdt.js'; import type { BuildDocumentOptions } from '../pipeline/build.js'; import type { MeasurementCache } from '../measure/types.js'; import { type LoadedFontsOptions } from './prepare.js'; export interface BuildDocumentWithFontsOptions extends LoadedFontsOptions, BuildDocumentOptions { /** The measurement cache handed to every build. */ cache?: MeasurementCache; /** How a build yields between passes (see `buildDocumentAsync`). */ yieldBetweenPasses?: () => Promise; } /** * {@link prepareFonts}, then {@link buildDocumentAsync}, then any face the * pages used that was not there loaded and the document built again (see * {@link withLoadedFonts}): the document laid out with the real faces in * one call. The report of what was found goes to `options.onFonts`. */ export declare function buildDocumentWithFonts(content: PostextContent, config?: PostextConfig, options?: BuildDocumentWithFontsOptions): Promise; //# sourceMappingURL=buildWithFonts.d.ts.map