import { IOPointerEvent } from '.';
import { Listenable } from '../../Listenable';
import { Listener } from '../../Listener';
export declare const CLICK_TIMEOUT = 300;
export declare const LONG_CLICK_TIMEOUT = 300;
export declare const POINTER_CLICK_RADIUS = 15;
export declare type Handlers = {
    onClick?: (event: IOPointerEvent) => void;
    onClickCancel?: (event: IOPointerEvent) => void;
    onDoubleClick?: (event: IOPointerEvent) => void;
    onLongClick?: (event: IOPointerEvent) => void;
    onLongPress?: (event: IOPointerEvent, _event: PointerEvent) => void;
    onLongClickCancel?: (event: IOPointerEvent) => void;
    onClickHold?: (event: IOPointerEvent) => void;
};
export declare function makeClickListener(handlers: Handlers): Listener;
export declare function listenClick(component: Listenable, handlers: Handlers): () => void;
