message: Expose new types
diff: @@ -3,11 +3,40 @@ import { Selection } from "./editor/selection";
  import { Visitor, NodePath } from "./ast";
  export {
  + Refactoring,
  + RefactoringWithActionProvider,
  + Operation,
  DeprecatedRefactoring,
  DeprecatedRefactoringWithActionProvider,
  DeprecatedOperation
  };
  +interface Refactoring {
  + command: {
  + key: string;
  + operation: Operation;
  + };
  +}
  +
  +interface RefactoringWithActionProvider {
  + command: {
  + key: string;
  + title: string;
  + operation: Operation;
  + };
  + actionProvider: {
  + message: string;
  + isPreferred?: boolean;
  + createVisitor: (
  + selection: Selection,
  + onMatch: (path: NodePath) => void
  + ) => Visitor;
  + updateMessage?: (path: NodePath) => string;
  + };
  +}
  +
  +type Operation = (editor: Editor) => Promise<void>;
  +
  interface DeprecatedRefactoring {
  command: {
  key: string;
  