import * as React from 'react';
import type { GenericHTMLProps } from '../../utils/types.js';
export declare function useFieldControlValidation(): {
    getValidationProps: (externalProps?: {}) => import("../../utils/types.js").WithBaseUIEvent<any>;
    getInputValidationProps: (externalProps?: {}) => import("../../utils/types.js").WithBaseUIEvent<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>>;
    inputRef: React.RefObject<HTMLInputElement | null>;
    commitValidation: (value: unknown) => Promise<void>;
};
export declare namespace useFieldControlValidation {
    interface ReturnValue {
        getValidationProps: (props?: GenericHTMLProps) => GenericHTMLProps;
        getInputValidationProps: (props?: GenericHTMLProps) => GenericHTMLProps;
        inputRef: React.MutableRefObject<any>;
        commitValidation: (value: unknown) => void;
    }
}
