OptionalnewCellMetadata: { [key: string]: unknown }OptionalnewNotebookMetadata: { [key: string]: unknown }Optionalneweslint-disable-next-line @typescript-eslint/no-explicit-any
New cells being inserted. May be empty.
Optionalneweslint-disable-next-line @typescript-eslint/no-explicit-any
Range of the cells being edited. May be empty.
StaticdeleteUtility to create an edit that deletes cells in a notebook.
The range of cells to delete.
StaticinsertUtility to create an edit that replaces cells in a notebook.
The index to insert cells at.
The new notebook cells.
StaticisStaticreplaceUtility to create a edit that replaces cells in a notebook.
The range of cells to replace
The new notebook cells.
Staticupdateeslint-disable-next-line @typescript-eslint/no-explicit-any
Staticupdateeslint-disable-next-line @typescript-eslint/no-explicit-any
A notebook edit represents edits that should be applied to the contents of a notebook.