import { computed as _computed , ComputedRef , WritableComputedOptions , WritableComputedRef , ComputedGetter , } from '@vue/reactivity' ; import { recordInstanceBoundEffect } from './component' ; export function computed < T > ( getter ) ; export function computed < T > ( options ) ; export function computed < T > ( getterOrOptions ) { const c = _computed ( getterOrOptions as any ) ; recordInstanceBoundEffect ( c . effect ) ; return c ; }