import { type TextareaHTMLAttributes, type CSSProperties } from 'react';
import { type SFieldAddonAlign, type SFieldStatus } from '../SField';
import { type SIconName } from '../SIcon';
import { type SColor } from '../../lib/color';
import { type Rule } from '../../lib/form';
import { type STooltipProps } from '../STooltip';
export interface STextareaProps extends Omit, 'value' | 'onChange'> {
/** 값 (제어) */
value?: string;
/** 값 변경 (sdUpdate) */
onValueChange?: (value: string) => void;
/** 네이티브 onChange (form-agnostic) */
onChange?: TextareaHTMLAttributes['onChange'];
/** 행 수 */
rows?: number;
/** 유효성 규칙 — blur 시 자동 검증 */
rules?: Rule[];
/** 필드 상태 ('default' | 'pass' | 'error') */
status?: SFieldStatus;
/** 포커스 상태 (제어/반영) */
focused?: boolean;
/** 호버 상태 (제어/반영) */
hovered?: boolean;
/** 내부 textarea 요소 className */
textareaClass?: string;
/** 내부 textarea 요소 style */
textareaStyle?: CSSProperties;
label?: string;
labelWidth?: number | string;
/** 레이블 영역 아이콘 */
icon?: SIconName;
iconColor?: SColor;
/** 레이블 툴팁 텍스트 */
labelTooltip?: string;
/** 레이블 툴팁 상세 옵션 */
labelTooltipProps?: Partial;
/** 우측 어드온 레이블 */
addonLabel?: string;
/** 어드온 정렬 */
addonAlign?: SFieldAddonAlign;
hint?: string;
error?: boolean;
errorMessage?: string;
width?: number | string;
disabled?: boolean;
readOnly?: boolean;
className?: string;
style?: CSSProperties;
}
/** STextarea — sd-textarea 포팅. SField(멀티라인 테두리 박스) + borderless native textarea. */
export declare const STextarea: import("react").ForwardRefExoticComponent>;