///
/**
* Custom hook to detect if an element has horizontal (X) or vertical (Y) overflow.
* @param ref An optional React ref to the element to monitor for overflow.
* @returns An object containing overflow states (hasXOverflow, hasYOverflow).
*/
export declare function useOverflow(ref?: React.RefObject): {
hasXOverflow: boolean;
hasYOverflow: boolean;
};