import { CursorController } from '../cursor/CursorController';
import { InteractionController } from '../interaction/InteractionController';
import { InteractionPolicy } from '../interaction/InteractionPolicy';
import { EventBus } from './EventBus';
import { Doc } from '../view/Doc';
/**
 * 事件管理器
 * 负责注册和管理所有事件处理器
 */
export declare class EventManager {
    doc: Doc;
    private handlers;
    private cleanupFns;
    private customHandlers;
    eventBus: EventBus;
    interactionController: InteractionController;
    cursorController: CursorController;
    policy: InteractionPolicy;
    constructor(doc: Doc);
    /**
     * 注册所有事件处理器
     */
    private registerHandlers;
    /**
     * 绑定所有事件
     */
    private bindEvents;
    /**
     * 绑定单个事件
     */
    private bindEvent;
    dispatchCustom(eventName: string, payload: any): void;
    /**
     * 销毁事件管理器，清理所有事件监听
     */
    destroy(): void;
}
