import { ComponentPropsWithoutRef } from 'react';
import { ExtensionProps } from './types';
type HTMlTextAreaProps = Omit<ComponentPropsWithoutRef<"textarea">, "size" | "onChange" | "value" | "children" | "placeholder">;
export interface TextAreaProps extends ExtensionProps<string>, HTMlTextAreaProps {
    selectOnFocus?: boolean;
    centerPlaceholder?: 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: import('react').ForwardRefExoticComponent<TextAreaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
export {};
//# sourceMappingURL=TextArea.d.ts.map