import { RefObject } from 'react'; export type OnClickAwayFn = (event: T) => void; export type Target = RefObject; export declare function useClickAway(params: { onClickAway: OnClickAwayFn; effect?: boolean; target: Target | Array; event?: 'click' | 'mousedown'; }): void; export default useClickAway; //# sourceMappingURL=index.d.ts.map