import * as React from 'react';
export { textareaVariants } from '../textarea/index.js';

interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'> {
    size?: 'sm' | 'default' | 'lg';
    maxRows?: number;
}
/**
 * Textarea component — renders a styled textarea with size support.
 *
 * Uses the headless @refraction-ui/textarea core for state, ARIA, and data attributes.
 * Styling via Tailwind utility classes (no external CSS-in-JS).
 */
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;

export { Textarea, type TextareaProps };
