import { type PdfDocument } from '@pdfrx/engine'; import type { PagePlacement } from '@pdfrx/viewer-core'; import type { MappedOutlineNode } from './export-composer.js'; /** Replaces the document's outline catalog with mapped bookmark nodes. */ export declare function writeOutline(document: PdfDocument, nodes: readonly MappedOutlineNode[]): Promise; /** * Rebuilds the catalog AcroForm from Widget annotations already copied with * the final pages. Each source receives a prefix so equal field names remain independent. */ export declare function mergeAcroForms(document: PdfDocument, placements: readonly PagePlacement[], sourceDocuments: ReadonlyMap): Promise; //# sourceMappingURL=outline-writer.d.ts.map