import { AmendingInstruction, DeleteInstruction, DocVersionKey, InsertInstruction, RenumberInstruction, ReplaceInstruction, ReplaceKeywordInstruction, ReplacePartlyInstruction } from '../types'; import { ChapterKey } from './ChapterKey'; export declare class BaseDocument { html: Document; docVersionKey: DocVersionKey; constructor(input: { html: Document; docVersionKey: DocVersionKey; }); amend(instruction: AmendingInstruction, originalKeys?: Map): void; findByChapterKey(chapterKey: ChapterKey): HTMLElement | undefined; findRootChapterFor(chapterKey: ChapterKey): Element; deleteChapterByKey(instruction: DeleteInstruction): void; insertNewChapterString(instruction: InsertInstruction): void; insertNewChapterElement(newChapterKey: ChapterKey, newChapterElement: Element): void; insertUnderParent(parentKey: ChapterKey, newChapterElement: Element, newChapterKey: ChapterKey): void; renumberChapter(instruction: RenumberInstruction, originalKeys: Map): void; replaceChapter(instruction: ReplaceInstruction): void; replaceChapterPartly(instruction: ReplacePartlyInstruction): void; replaceKeyword(instruction: ReplaceKeywordInstruction): void; }