/** * Hook to detect if a scrollbar is present and set CSS custom property to avoid rerenders * @returns refCallback - ref callback to attach to element */ export declare const useScrollbarDetection: () => (element: HTMLElement | null) => void;