import { Ref } from 'react'; import { FormFieldMessageProps } from './FormFieldMessage'; export interface FormFieldStateMessageProps extends FormFieldMessageProps { state: 'error' | 'alert' | 'success'; ref?: Ref; } export declare const FormFieldStateMessage: { ({ className, state, children, ref, ...others }: FormFieldStateMessageProps): import("react").JSX.Element | null; displayName: string; };