import type { Ref } from 'vue'; export default function useState>(defaultStateValue?: T | (() => T)): [R, (val: T) => void];