import { type XmlDocument, type XmlElement } from './xml.js'; /** Bookmark names starting directly inside this paragraph (`w:bookmarkStart/@w:name`, direct children only). */ export declare function paragraphBookmarkNames(node: XmlElement): string[]; /** Clones a paragraph's direct `w:bookmarkStart`/`w:bookmarkEnd` children so they can be re-inserted after a rewrite. */ export declare function captureBookmarkNodes(node: XmlElement): { starts: XmlElement[]; ends: XmlElement[]; }; /** * A rewritten paragraph's bookmark markers: names added to the model get a start and end around * the whole paragraph; names removed from it (present in `base`) lose their markers in this * paragraph. Other markers are kept as they were. */ export declare function reconcileBookmarks(doc: XmlDocument, starts: XmlElement[], ends: XmlElement[], names: readonly string[], baseNames: readonly string[], nextId: () => string): { starts: XmlElement[]; ends: XmlElement[]; }; //# sourceMappingURL=bookmarks.d.ts.map