Any chance we can get the Prompt class in the API?

It would be great if plugins can open a list with a filtering through a textbox, like Obsidian has for the command palette and the quick switch pane.
Recreating this functionality in each plugin will just not look and feel as native.