Error message says: 'RecordingStartResponse' only refers to a type, but is being used as a value here.
I am using the boilerplate given in pkg example, but it still gets error.
This is the code getting error:

This is how I imported the pkg:

These are the dependencies I am using:
"dependencies": {
"react": "18.2.0",
"react-native": "0.73.2",
"react-native-record-screen": "^0.6.1"
},
Error message says: 'RecordingStartResponse' only refers to a type, but is being used as a value here.

I am using the boilerplate given in pkg example, but it still gets error.
This is the code getting error:
This is how I imported the pkg:

These are the dependencies I am using:
"dependencies": {
"react": "18.2.0",
"react-native": "0.73.2",
"react-native-record-screen": "^0.6.1"
},