import React from 'react';
/**
 * Detects clicks outside of a specified component and triggers a callback function.
 *
 * @param ref Component reference
 * @param onClickAway Callback function to be called when a click is detected outside the component
 */
export declare const useClickAway: (ref: React.RefObject<HTMLElement | null>, onClickAway: (event: MouseEvent | TouchEvent) => void) => void;
//# sourceMappingURL=use-click-away.d.ts.map