Firebase in local console

im trying to add data to firebase Local Emulator,
but instead of using the manual data insertion,
I am putting data from console at chrome’s dev tools

it is giving me an error for a package that i have imported in my local code file.
ReferenceError: firestore is not defined

while the firestroe is imported in the code’s local file