{"blocks": [{"key": "9e0de082", "text": "Question", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "95fb26d3", "text": "Design a document layer that supports applying operations and undoing them efficiently. Extend the design to support commit-batch functionality and optimize batch undo. How would you add redo capability to the document layer while maintaining performance guarantees?", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}], "entityMap": {}}