{
  "type": "File",
  "start": 0,
  "end": 46,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 1,
      "column": 46
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 46,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 1,
        "column": 46
      }
    },
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "DeclareFunction",
        "start": 0,
        "end": 46,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 1,
            "column": 46
          }
        },
        "id": {
          "type": "Identifier",
          "start": 17,
          "end": 45,
          "loc": {
            "start": {
              "line": 1,
              "column": 17
            },
            "end": {
              "line": 1,
              "column": 45
            },
            "identifierName": "foo"
          },
          "name": "foo",
          "typeAnnotation": {
            "type": "TypeAnnotation",
            "start": 20,
            "end": 45,
            "loc": {
              "start": {
                "line": 1,
                "column": 20
              },
              "end": {
                "line": 1,
                "column": 45
              }
            },
            "typeAnnotation": {
              "type": "FunctionTypeAnnotation",
              "start": 20,
              "end": 45,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 20
                },
                "end": {
                  "line": 1,
                  "column": 45
                }
              },
              "typeParameters": null,
              "params": [
                {
                  "type": "FunctionTypeParam",
                  "start": 21,
                  "end": 30,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 21
                    },
                    "end": {
                      "line": 1,
                      "column": 30
                    }
                  },
                  "name": {
                    "type": "Identifier",
                    "start": 21,
                    "end": 22,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 21
                      },
                      "end": {
                        "line": 1,
                        "column": 22
                      },
                      "identifierName": "x"
                    },
                    "name": "x"
                  },
                  "optional": false,
                  "typeAnnotation": {
                    "type": "NumberTypeAnnotation",
                    "start": 24,
                    "end": 30,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 24
                      },
                      "end": {
                        "line": 1,
                        "column": 30
                      }
                    }
                  }
                },
                {
                  "type": "FunctionTypeParam",
                  "start": 32,
                  "end": 38,
                  "loc": {
                    "start": {
                      "line": 1,
                      "column": 32
                    },
                    "end": {
                      "line": 1,
                      "column": 38
                    }
                  },
                  "name": null,
                  "optional": false,
                  "typeAnnotation": {
                    "type": "StringTypeAnnotation",
                    "start": 32,
                    "end": 38,
                    "loc": {
                      "start": {
                        "line": 1,
                        "column": 32
                      },
                      "end": {
                        "line": 1,
                        "column": 38
                      }
                    }
                  }
                }
              ],
              "rest": null,
              "returnType": {
                "type": "VoidTypeAnnotation",
                "start": 41,
                "end": 45,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 41
                  },
                  "end": {
                    "line": 1,
                    "column": 45
                  }
                }
              }
            }
          }
        },
        "predicate": null
      }
    ],
    "directives": []
  }
}