import type JSZip from 'jszip'; import type { PendingMediaPart } from './model.js'; import { RelationshipAllocator, type NewRelationship } from './relationship-allocator.js'; import type { DocPrIdAllocator } from './docpr-ids.js'; import type { XmlDocument } from './xml.js'; /** The relationships part for `partName`, e.g. word/_rels/header1.xml.rels. */ export declare function relationshipsPartFor(partName: string): string; /** An allocator that avoids every id already used by the part's XML or declared in its .rels. */ export declare function allocatorForPart(zip: JSZip, partName: string, doc: XmlDocument, docPrIds?: DocPrIdAllocator): Promise; /** Adds `created` relationships to the part's .rels and writes any newly inserted media. */ export declare function writeNewRelationships(zip: JSZip, partName: string, created: readonly NewRelationship[], pendingMedia?: ReadonlyMap): Promise; //# sourceMappingURL=part-relationships.d.ts.map