import { type TextareaHTMLAttributes, type FocusEventHandler } from 'react';
export declare const useFocus: () => {
focusHandler: FocusEventHandler;
blurHandler: FocusEventHandler;
isFocused: boolean;
};
export declare const TextInput: import("react").ForwardRefExoticComponent, "value"> & {
value: string;
maxHeight?: number;
layout: 'vertical' | 'horizontal';
onSend?: VoidFunction;
/** Ширина контейнера; её изменение пере-измеряет layout (перенос текста зависит от ширины) */
containerWidth?: number;
/** Есть центральный слот - ввод всегда на своём ряду, паддинги spacious */
hasCentral: boolean;
/** Контролы с обеих сторон - в вертикальном лейауте ввод уезжает на свой ряд, паддинги spacious */
hasBothSideControls: boolean;
} & import("react").RefAttributes>;