sig
  type export_context
  val build_export_context :
    Physical_value.item Cursor.cursor ->
    Physical_export_context.export_context
  val get_current_cursor :
    Physical_export_context.export_context ->
    Physical_value.item Cursor.cursor
  val push_node_to_export_context :
    Physical_export_context.export_context ->
    Dm.node -> Physical_value.item Cursor.cursor -> unit
  val pop_node_from_export_context :
    Physical_export_context.export_context ->
    Streaming_types.typed_annotated_sax_event option
end