import { UnitPointerEvent } from '.';
import { Listener } from '../../Listener';
import { Component } from '../../component';
export type Handlers = {
    onClick?: (event: UnitPointerEvent, _event: PointerEvent) => void;
    onClickCancel?: (event: UnitPointerEvent) => void;
    onDoubleClick?: (event: UnitPointerEvent) => void;
    onLongClick?: (event: UnitPointerEvent) => void;
    onLongPress?: (event: UnitPointerEvent, _event: PointerEvent) => void;
    onLongClickCancel?: (event: UnitPointerEvent) => void;
    onClickHold?: (event: UnitPointerEvent) => void;
};
export declare function makeClickListener(handlers: Handlers): Listener;
export declare function listenClick(component: Component, handlers: Handlers): () => void;
