/** * A custom React hook for calculating the number of visible children in a dynamic list based on container width and child widths. * * @returns {object} An object containing the `calculateNumberOfVisibleChildren` function. * * @example * // Basic usage: * const parentRef = useRef(); * const childRefs = useRef([]); * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation(); * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs); * @example * // Excluding a buffer for less white space: * const parentRef = useRef(); * const childRefs = useRef([]); * const { calculateNumberOfVisibleChildren } = useDynamicListCalculation(); * const maxVisibleChildren = calculateNumberOfVisibleChildren(parentRef, childRefs, false); */ export declare const useDynamicListCalculation: () => object; //# sourceMappingURL=useDynamicListCalculation.d.ts.map