import { Color2T } from '../_utils/types.ts'; export interface FormFieldEmits { (e: 'focus', evt: FocusEvent): void; (e: 'blur'): void; (e: 'clear', evt?: Event): void; (e: 'pressEnter'): void; } export declare function useFormField(props: { color?: Color2T; inputId?: string; }, emit: FormFieldEmits): { effectiveColor: import('vue').ComputedRef<"normal" | "primary" | "success" | "warning" | "danger">; inputId: import('vue').Ref; isFocus: import('vue').Ref; onFocus: (e: FocusEvent) => void; onBlur: () => void; onClear: (e?: Event) => void; onPressEnter: () => void; notifyChange: () => void; };