import type { RegleFieldStatus } from '@regle/core';
import { type ComputedRef, type Ref } from 'vue';
export type UseFieldValidationParams = {
    field: Ref<RegleFieldStatus<string>>;
};
export type UseFieldValidationReturn = {
    invalid: ComputedRef<boolean | null>;
    validationText?: ComputedRef<string>;
};
export declare const useFieldValidation: ({ field: fieldRef, }: UseFieldValidationParams) => UseFieldValidationReturn;
