import { CursorController } from '../cursor/CursorController';
import { Doc } from '../view/Doc';
import { LayoutNode } from '../view/base/LayoutNode';
import { InteractionController } from './InteractionController';
/**
 * 交互权限
 * 全局互斥规则
 */
export declare class InteractionPolicy {
    doc: Doc;
    constructor(doc: Doc);
    /** 是否允许输入 */
    canInput(run?: LayoutNode): boolean;
    /** 事件前置拦截 */
    guardEvent(eventName: string, payload: any): boolean;
    /** 全局互斥规则 统一处理变量互斥 */
    handleGlobalConflict(eventName: string, payload: any, ctx: {
        interactionController: InteractionController;
        cursorController: CursorController;
    }): void;
}
