High-redshift objects as probes of nearby cosmic voids