import React from 'react'; import type { ReactNode } from 'react'; export type FormItemChildFeedback = { help?: ReactNode; validateStatus?: 'success' | 'warning' | 'error' | 'validating'; } | null; type FormItemChildFeedbackContextValue = { setFeedback: (feedback: FormItemChildFeedback) => void; }; /** Internal: used by built-in field components inside Form.Item (e.g. Password). */ export declare function useFormItemChildFeedback(): FormItemChildFeedbackContextValue; export declare function FormItemChildFeedbackProvider({ children, contextValue, }: { children: ReactNode; contextValue: FormItemChildFeedbackContextValue; }): import("@emotion/react/jsx-runtime").JSX.Element; export declare function useFormItemChildFeedbackState(): { childFeedback: { help?: React.ReactNode; validateStatus?: "error" | "warning" | "success" | "validating"; }; contextValue: { setFeedback: (feedback: FormItemChildFeedback) => void; }; }; export {};