import type { Ref } from 'vue'; export type MaybeRef = Ref | T; export type MaybeWithRefs = { [Property in keyof T]: MaybeRef; }; export type MaybeRefOrWithRefs = MaybeRef | MaybeWithRefs; /** * Converts all non-function properties of `T` into Vue refs while keeping function properties specified by `Fns` unchanged. * * @internal */ export type ToRefsExceptFns = { [K in keyof Omit]: Ref; } & Pick;