///
import type { FieldMessageContainerExtension } from "../FormMessageContainer";
import type { TextAreaProps } from "./TextArea";
/**
* @remarks \@since 2.5.0
*/
export declare type TextAreaWithMessageProps = FieldMessageContainerExtension;
/**
* This component is a simple wrapper for the `TextArea` and `FormMessage`
* components that should be used along with the `useTextField` hook to
* conditionally show help and error messages with a `TextArea`.
*
* Simple example:
*
* ```ts
* const [value, areaProps] = useTextField({
* id: "area-id",
* });
*
* return (
*
* );
* ```
*
* @remarks \@since 2.5.0
*/
export declare const TextAreaWithMessage: import("react").ForwardRefExoticComponent | undefined;
}) | undefined;
messageContainerProps?: (import("react").HTMLAttributes & {
ref?: import("react").Ref | undefined;
}) | undefined;
} & import("react").RefAttributes>;