import type { WritableComputedRef } from 'vue' import type { UseVModelOptions } from '@vueuse/core' export type UseModelOptions = Omit, 'passive'> & { /** * When passive is set to `true`, it will use `watch` to sync with props and ref. * Instead of relying on the `v-model` or `.sync` to work. * * @default true */ passive?: boolean } // eslint-disable-next-line @typescript-eslint/no-unused-vars export type ModelOptions = {}> = T export const defineModel: () => { [K in keyof T]-?: WritableComputedRef } export const $defineModel: () => T