import type { Ref } from 'vue'; import type { PrimitiveProps } from 'reka-ui'; export interface BaseFieldContext { state: Ref<'idle' | 'loading' | 'success' | 'error'> id: Ref idLabel: Ref idDescription: Ref idError: Ref name: Ref required: Ref disabled: Ref } export interface BaseFieldProps extends PrimitiveProps { // orientation?: 'horizontal' | 'vertical' state?: 'idle' | 'loading' | 'success' | 'error' id?: string name?: string required?: boolean disabled?: boolean modelValue?: any } export type BaseFieldSlots = { default(): any }