Where can I get type Declaration of codemirror6

From where can I get type Declaration for codemirror6

There is a type Declaration for codemirror 5 on definately typed but I want for V6

Or can anyone tell me how to generate this ?

Actually I want to use codemirror V6 with kotlinJs

They are included in the NPM packages and automatically work when you install them.

Thanks sir