Return value from the useNotebookModel hook.
Serializes the current notebook content to nbformat bytes.
Updates the tracked notebook model when the editor swaps models.
Resets the dirty state after a successful save.
The current JupyterLab notebook model reference.
Return value from the useNotebookModel hook.