{
  "type": "File",
  "start": 0,
  "end": 42,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 42
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 42,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 42
      }
    },
    "sourceType": "module",
    "body": [
      {
        "type": "DeclareModuleExports",
        "start": 0,
        "end": 42,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 42
          }
        },
        "typeAnnotation": {
          "type": "TypeAnnotation",
          "start": 22,
          "end": 42,
          "loc": {
            "start": {
              "line": 1,
              "column": 22
            },
            "end": {
              "line": 1,
              "column": 42
            }
          },
          "typeAnnotation": {
            "type": "ObjectTypeAnnotation",
            "start": 24,
            "end": 42,
            "loc": {
              "start": {
                "line": 1,
                "column": 24
              },
              "end": {
                "line": 1,
                "column": 42
              }
            },
            "callProperties": [],
            "properties": [
              {
                "type": "ObjectTypeProperty",
                "start": 26,
                "end": 39,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 26
                  },
                  "end": {
                    "line": 1,
                    "column": 39
                  }
                },
                "key": {
                  "type": "Identifier",
                  "start": 26,
                  "end": 29,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 26
                    },
                    "end": {
                      "line": 1,
                      "column": 29
                    },
                    "identifierName": "foo"
                  },
                  "name": "foo"
                },
                "static": false,
                "kind": "init",
                "value": {
                  "type": "FunctionTypeAnnotation",
                  "start": 26,
                  "end": 39,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 26
                    },
                    "end": {
                      "line": 1,
                      "column": 39
                    }
                  },
                  "params": [],
                  "rest": null,
                  "typeParameters": null,
                  "returnType": {
                    "type": "NumberTypeAnnotation",
                    "start": 33,
                    "end": 39,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 33
                      },
                      "end": {
                        "line": 1,
                        "column": 39
                      }
                    }
                  }
                },
                "optional": false
              }
            ],
            "indexers": [],
            "exact": false
          }
        }
      }
    ],
    "directives": []
  }
}