import { AccessibilityProps } from '../shared/index.js';

interface TextareaProps {
    disabled?: boolean;
    readOnly?: boolean;
    required?: boolean;
    'aria-invalid'?: boolean;
    rows?: number;
    maxRows?: number;
}
interface TextareaAPI {
    /** ARIA attributes to spread on the element */
    ariaProps: Partial<AccessibilityProps> & {
        'aria-invalid'?: boolean;
        'aria-required'?: boolean;
    };
    /** Data attributes for CSS styling hooks */
    dataAttributes: Record<string, string>;
}
declare function createTextarea(props?: TextareaProps): TextareaAPI;

declare const textareaVariants: (props?: ({
    size?: "sm" | "default" | "lg" | undefined;
} & {
    className?: string;
}) | undefined) => string;

export { type TextareaAPI, type TextareaProps, createTextarea, textareaVariants };
