import { ForwardedRef, MutableRefObject } from 'react';
type ReturnValueType = {
    optionsListRefCollection: ForwardedRef<unknown> | (({ ref, index }: {
        ref: any;
        index: any;
    }) => void);
    optionsListCollectionRef: MutableRefObject<HTMLElement[]>;
    height: string;
};
type UseCustomHeightFromChildrensType = {
    limit: number;
    observer?: unknown[];
    customCalcHeight?: (element: HTMLElement[]) => string;
    shouldCalculateHeight?: boolean;
};
export declare const useCustomHeightFromChildrens: ({ limit, observer, customCalcHeight, shouldCalculateHeight, }: UseCustomHeightFromChildrensType) => ReturnValueType;
export {};
