import { default as React, TextareaHTMLAttributes } from 'react';
export interface TextareaProps extends Omit, 'size'> {
/**
* Textarea size
* @default 'md'
*/
size?: 'sm' | 'md' | 'lg';
/**
* Error state - shows error styling
*/
error?: boolean;
/**
* Success state - shows success styling
*/
success?: boolean;
/**
* Label text
*/
label?: string;
/**
* Helper text below textarea
*/
helperText?: string;
/**
* Error message (shows error state automatically)
*/
errorMessage?: string;
/**
* Mark field as required (adds asterisk to label)
*/
required?: boolean;
/**
* Show character counter
*/
showCounter?: boolean;
/**
* Auto-resize textarea as user types
*/
autoResize?: boolean;
/**
* Disable resizing
*/
noResize?: boolean;
/**
* Additional CSS classes for wrapper
*/
wrapperClassName?: string;
/**
* Additional CSS classes for textarea
*/
className?: string;
}
/**
* Textarea Component
*
* A versatile textarea field with label, validation states, character counter, and auto-resize.
* Fully responsive and accessible.
*
* @example
* ```tsx
*
*
*
* ```
*/
export declare const Textarea: React.ForwardRefExoticComponent>;
//# sourceMappingURL=Textarea.d.ts.map