interface UseAutoGrowHeightOptions { maxLines?: number; } interface UseAutoGrowHeightResult { /** 0 until first observed. */ containerHeight: number; /** The line box the element renders, read off it rather than a width bucket (`constitution.md` ยง10); * compare with `containerHeight` for wrapping. 0 where none is stated or measured, and `maxLines` then * sets no ceiling. */ lineHeight: number; scrollEnabled: boolean; inputRef: (node: HTMLTextAreaElement | null) => void; /** Re-measure after the value changes; width changes are observed. */ measure: () => void; } export declare function useAutoGrowHeight(options?: UseAutoGrowHeightOptions): UseAutoGrowHeightResult; export {};