/// <reference types="cocos-api" />
declare type ConditionCallback = (listener: cc.TouchOneByOne, touch: cc.Touch) => boolean;
export declare class ConditionTouchListener extends cc.Component {
    private conditionCallback;
    constructor();
    private updateTouchEvent;
    private modifyTouchBegan;
    private modifyTouchEnd;
    update(delta: number): void;
    /** Sets the condition callback used in touch start event. */
    setConditionCallback(callback: ConditionCallback): this;
}
export {};
