Inspector type

Allow inspecting/modifying the current dialog context.

type Inspector = (inspector: DialogContextInspector) => Promise<void>