import { RefObject } from 'react';
/**
 * Computes the number of cards per row from the container width, accounting for the gap
 * between columns. Formula: floor((width + gap) / (minCardWidth + gap)).
 * Uses useLayoutEffect + an immediate getBoundingClientRect measurement so cardsPerRow is
 * correct before the first paint, preventing stale DOM references in Storybook interaction tests.
 */
export declare function useCardsPerRow(containerRef: RefObject<HTMLDivElement | null>, minCardWidth?: number, gap?: number): number;
//# sourceMappingURL=useCardsPerRow.d.ts.map