/** * [WHO]: Output: void; Inputs: (textareaRef, value, maxRows) * [FROM]: react * [TO]: CLI `add` copy target; canonical implementation in `src/components` * [HERE]: registry/chat/chat-input * * [PROTOCOL]: * 1. Keep this P3 header in sync when behavior changes * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when needed * 3. Follow repository conventions for tokens and exports */ import { type RefObject } from 'react'; export declare function useAutoResizeTextarea(textareaRef: RefObject, value: string, maxRows: number): void;