/** * Target creation for `createTargetIfMissing`. Only value-writing operations * create — you cannot rename, move, or delete something that does not exist. * * - Headings: create the missing trailing segments of the address as a nested * chain under the deepest existing ancestor, with levels running from that * ancestor's *actual* level + 1 (so a skipped level in the address never * leaves a hole — the 1.x skipped-depth bug), then place the content in the * deepest new section. A created level past h6 still writes but warns. * - Blocks: mint `content ^id` as a new paragraph at the end of the document. */ import { DocumentModel } from "../model.js"; import { HeadingInstruction, BlockInstruction, PatchResult } from "../instructions.js"; /** Create a missing heading (and any missing ancestors) and place content in it. */ export declare const createHeading: (document: string, model: DocumentModel, instruction: HeadingInstruction) => PatchResult; /** Mint a new `content ^id` block at the end of the document. */ export declare const createBlock: (document: string, model: DocumentModel, instruction: BlockInstruction) => PatchResult; //# sourceMappingURL=create.d.ts.map