interface UseAutoGrowHeightOptions { maxLines?: number; } interface UseAutoGrowHeightResult { /** The content's height, 0 until the first observation. */ containerHeight: number; /** * The line box the element ACTUALLY renders, read off it rather than picked * from a width bucket — so a field the caller re-typed reports its own rhythm, * and the hook has no opinion about widths (`constitution.md` §10). Compare * against `containerHeight` to tell whether the content has wrapped past one * line. 0 where the element states no line box, which is also "not yet * measured": `maxLines` then imposes no ceiling, because there is no number. */ lineHeight: number; scrollEnabled: boolean; inputRef: (node: HTMLTextAreaElement | null) => void; measure: () => void; } export declare function useAutoGrowHeight(options?: UseAutoGrowHeightOptions): UseAutoGrowHeightResult; export {};