Imports from `<script>` should not expose to `<template>` when using `<script setup>`
Version
3.0.11
Reproduction link
Steps to reproduce
Check preview of SFC playground.
What is expected?
Print undefined.
What is actually happening?
Print function.
Duplicate of https://github.com/vuejs/vue-next/issues/3238 ?