docs: function tryConsumeImport() {
              var token = scanner.getToken();
              if (token === 89 /* ImportKeyword */) {
                  token = nextToken();
                  if (token === 9 /* StringLiteral */) {
                      // import "mod";
                      recordModuleName();
                      return true;
                  }
                  else {
                      if (token === 69 /* Identifier */ || ts.isKeyword(token)) {
                          token = nextToken();
                          if (token === 136 /* FromKeyword */) {
                              token = nextToken();
                              if (token === 9 /* StringLiteral */) {
                                  // import d from "mod";
                                  recordModuleName();
                                  return true;
                              }
                          }
                          else if (token === 56 /* EqualsToken */) {
                              if (tryConsumeRequireCall(/*skipCurrentToken*/ true)) {
                                  return true;
                              }
                          }
                          else if (token === 24 /* CommaToken */) {
                              // consume comma and keep going
                              token = nextToken();
                          }
                          else {
                              // unknown syntax
                              return true;
                          }
                      }
                      if (token === 15 /* OpenBraceToken */) {
                          token = nextToken();
                          // consume "{ a as B, c, d as D}" clauses
                          // make sure that it stops on EOF
                          while (token !== 16 /* CloseBraceToken */ && token !== 1 /* EndOfFileToken */) {
                              token = nextToken();
                          }
                          if (token === 16 /* CloseBraceToken */) {
                              token = nextToken();
                              if (token === 136 /* FromKeyword */) {
                                  token = nextToken();
                                  if (token === 9 /* StringLiteral */) {
                                      // import {a as A} from "mod";
                                      // import d, {a, b as B} from "mod"
                                      recordModuleName();
                                  }
                              }
                          }
                      }
                      else if (token === 37 /* AsteriskToken */) {
                          token = nextToken();
                          if (token === 116 /* AsKeyword */) {
                              token = nextToken();
                              if (token === 69 /* Identifier */ || ts.isKeyword(token)) {
                                  token = nextToken();
                                  if (token === 136 /* FromKeyword */) {
                                      token = nextToken();
                                      if (token === 9 /* StringLiteral */) {
                                          // import * as NS from "mod"
                                          // import d, * as NS from "mod"
                                          recordModuleName();
                                      }
                                  }
                              }
                          }
                      }
                  }
                  return true;
              }
              return false;
          }