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