import { RefObject } from 'react';
/**
 * Directly syncs the position, size, border-radius, and background-image of
 * the visible active thumbnail from the widget DOM onto a portal clone element
 * via direct style mutation.
 *
 * Direct DOM mutation means the clone updates in the same animation frame as
 * the position read, giving pixel-perfect sync even during CSS transitions.
 *
 * The RAF loop only runs while the hook is mounted (i.e. while the post
 * viewer is open), so the performance impact is negligible.
 */
declare const useActiveThumbnailRect: (cloneRef: RefObject<HTMLElement>, dep: unknown) => void;
export default useActiveThumbnailRect;
