import * as React from 'react'; /** * Options for the useAutoHeight hook. */ interface IAutoHeightOptions { /** Include parent element box model (padding, border) in measurement. */ includeParentBox?: boolean; /** Include self element box model in measurement. */ includeSelfBox?: boolean; } /** * Hook that measures and tracks the height of an element with ResizeObserver. * Returns a ref to attach and the current height value. * * @param deps - Dependency list to trigger re-measurement * @param options - Configuration for box model inclusion * @returns Object with ref and height * * @example * ```tsx * const { ref, height } = useAutoHeight([content]); *
{content}
* ``` */ export declare function useAutoHeight(deps?: React.DependencyList, options?: IAutoHeightOptions): { readonly ref: React.RefObject; readonly height: number; }; export type { IAutoHeightOptions }; //# sourceMappingURL=UseAutoHeight.d.ts.map