UNPKG

yanzhen-design-vue

Version:

16 lines (15 loc) 914 B
import { ComponentPublicInstance, SetupContext } from 'vue'; import { RadioGroupEmits, RadioGroupProps } from './radio-group'; export declare function useRadioGroup<P extends RadioGroupProps, E extends RadioGroupEmits>(props: P, emit?: SetupContext<E>['emit']): readonly [{ readonly _ref: import('vue').Ref<ComponentPublicInstance, ComponentPublicInstance>; readonly $slots: Readonly<{ [name: string]: import('vue').Slot<any>; }>; readonly propsRef: import('vue').ComputedRef<{ [x: string]: unknown; }>; readonly checkedRef: import('vue').Ref<NonNullable<P["value"]> | NonNullable<P["modelValue"]>, NonNullable<P["value"]> | NonNullable<P["modelValue"]>>; readonly optionsRef: import('vue').ComputedRef<Record<string, any>[]>; }, (props?: Record<any, any>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, { [key: string]: any; }>];