Obsidian Internal File Indexing Data

I’m trying to find information on how Obsidian does its indexing. I know that it’s doing it, from that occasional “Obsidian is indexing your vault” message. I’ve found nothing when searching online.

I’d like to use the data for my plug-in, so I know what files link to what files and their properties etc. Isn’t there (or rather, shouldn’t there be) an accessible file that holds the indexing data? I mean it has to be stored somewhere, so where/how is it stored?

I would really appreciate your Ideas on this.