import { InteractiveEvent } from "../interact/InteractiveEvent";
import { AppEventContext } from "../../app/AppEventContext";
export declare abstract class AbsDetector<T> {
    result: T | null;
    detect(event: InteractiveEvent, ctx: AppEventContext): boolean;
    reset(): void;
    /**
     * 外部不要直接调用这个方法
     * @param event
     * @param ctx
     */
    protected abstract onDetect(event: InteractiveEvent, ctx: AppEventContext): boolean;
}
//# sourceMappingURL=AbsDetector.d.ts.map