import { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
import { Control, Variant } from './types';
type HTMlTextAreaProps = Omit<ComponentPropsWithRef<"textarea">, "size" | "onChange" | "value" | "children">;
export interface TextAreaProps extends Omit<HTMlTextAreaProps, "wrap">, Control<string> {
    selectOnFocus?: boolean;
    centerPlaceholder?: boolean;
    variant?: Variant;
    sharp?: boolean;
    children?: ReactNode;
    wrap?: boolean;
}
/**
 * A controlled text area input component.
 *
 * @param props - The props for the input component. Unlisted props are passed to the
 * underlying input element.
 * @param props.value - The value of the input.
 * @param props.onChange - A function to call when the input value changes.
 * @param props.size - The size of the input: "small" | "medium" | "large".
 * @param props.selectOnFocus - Whether the input should select its contents when focused.
 * @param props.centerPlaceholder - Whether the placeholder should be centered.
 */
export declare const TextArea: ({ ref, value, style, onChange, className, onFocus, selectOnFocus, variant, sharp, children, wrap, ...rest }: TextAreaProps) => ReactElement;
export {};
//# sourceMappingURL=TextArea.d.ts.map