OptionalwrapperAttrs: Readonly<Record<string, unknown>>ReadonlyfromReadonlyparentReadonlytoOptional ReadonlywrapperReadonlywrapperApply to a document. Never throws, returns a failure result instead.
Produce the step that undoes this one, given the document it applied to.
Wrap the children [from, to) of the node at
parentPathin a new node of typewrapperType, placed at indexfrom.