import type { UnwrapNestedRefs } from 'vue'; import { reactive } from 'vue'; import type { HCondition } from './interface'; export type DefineCondition = Record; export function defineCondition>( config: T, ): UnwrapNestedRefs { return reactive(config); }