/** * Monitors an element for scroll. * * @param axis - horizontal/vertical scroll to monitor @default y * @param callback - optional callback * @returns The hook returns an object containing: * - {boolean} isScrollable - A boolean indicating if the element is scrollable. * - {Function} elementRef - A callback ref function to be assigned to the element being monitored. */ export declare function useElementScrollable(axis?: 'x' | 'y', callback?: (el: HTMLElement) => void): { isScrollable: boolean; elementRef: (element: HTMLElement) => void; };