getAllHeadingsWithFiles

getAllHeadingsWithFiles(): ReadonlyMap<string, ReadonlySet<string>>

Returns a map of all headings across the vault to their file sets.

Returns

ReadonlyMap<string, ReadonlySet<string>> — lowercased heading text → set of file paths.