import { BasicTarget } from '../utils/dom'; declare type EventType = MouseEvent | TouchEvent; export default function useClickAway(onClickAway: (event: EventType) => void, target: BasicTarget | BasicTarget[], eventName?: string): void; export {};