VGA and DVI are obsolete, or nearly so.
- VGA doesn't support 2560x1440 resolution. You'd be searching for an old, lower-resolution analog monitor.
- DVI requires a dual-link connection for any resolution higher than 1920x1200. The old mDP to dual-link DVI adapters ran from $50 to $200, and Apple's $100 adapter may have been somewhat flaky. If you had a 30" Cinema Display, you'd have to put up with this. For a modern display? Not so much.
Mini DisplayPort to DisplayPort would absolutely work, assuming that the monitor is compatible. The difference between the two is the size of the connector. Adapters are cheap, easy to find, and reliable.
I'm guessing you'd want to look for a monitor
- That is a 27" 2560x11440 or 30" 2560x1600 monitor, with at least one DisplayPort or Mini DisplayPort input.
- That has an IPS panel and near-100% coverage of sRGB. (If no coverage is specified, assume the worst.)
The 30" ones are extinct, or nearly so. If you do find a modern one, you'll pay dearly for the extra bit of vertical space.
If the monitor also has HDMI inputs, USB-C (DisplayPort + Power Delivery + USB) that would let you use it as a docking station for a future laptop, good wide gamut (DCI-P3 or Adobe RGB) coverage, etc., that would be OK. Most modern monitors have at least DP/mDP + HDMI, though there are some that are HDMI-only.