import { type TextareaHTMLAttributes } from 'react';
import { type VariantProps } from 'class-variance-authority';
/** Agent-readiness curated handle for TextArea. */
export interface TextAreaHandle {
getValue: () => string;
setValue: (value: string) => void;
clear: () => void;
focus: () => void;
}
declare const textAreaVariants: (props?: ({
size?: "sm" | "md" | "lg" | null | undefined;
tone?: "default" | "error" | null | undefined;
resize?: "auto" | "manual" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type NativeTextareaProps = Omit, 'children' | 'size'>;
export interface TextAreaProps extends NativeTextareaProps, Pick, 'size' | 'tone'> {
size?: 'sm' | 'md' | 'lg';
tone?: 'default' | 'error';
autoResize?: boolean;
minRows?: number;
maxRows?: number;
showCounter?: boolean;
}
export declare const TextArea: import("react").ForwardRefExoticComponent>;
export {};
//# sourceMappingURL=text-area.d.ts.map