import * as React from 'react';
import type { HasAlign, HasDataAttribute, HasRootRef } from '../../types';
import { type FormFieldProps } from '../FormField/FormField';
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onResize'>, HasRootRef<HTMLElement>, HasAlign, FormFieldProps {
    /**
     * @deprecated Since 7.9.0. Вместо этого используйте `slotProps={ textArea: { getRootRef: ... } }`.
     */
    getRef?: React.Ref<HTMLTextAreaElement>;
    /**
     * Свойства, которые можно прокинуть внутрь компонента:
     * - `root`: свойства для прокидывания в корень компонента;
     * - `textArea`: свойства для прокидывания в поле ввода.
     */
    slotProps?: {
        root?: React.HTMLAttributes<HTMLElement> & HasRootRef<HTMLElement> & HasDataAttribute;
        textArea?: React.TextareaHTMLAttributes<HTMLTextAreaElement> & HasRootRef<HTMLTextAreaElement> & HasDataAttribute;
    };
    /**
     * Свойство управляющее автоматическим изменением высоты компонента.
     */
    grow?: boolean;
    /**
     * Обработчик, срабатывающий при изменении размера компонента.
     */
    onResize?: (el: HTMLTextAreaElement) => void;
    /**
     * Значение по умолчанию.
     */
    defaultValue?: string;
}
/**
 * @see https://vkui.io/components/textarea
 */
export declare const Textarea: ({ className: rootClassName, getRootRef, style, grow, onResize, getRef, rows, maxHeight, status, align, mode, after, before, afterAlign, beforeAlign, slotProps, ...restProps }: TextareaProps) => React.ReactNode;
//# sourceMappingURL=Textarea.d.ts.map