import type { VRange } from '../types.js'; import { type BaseTextAttributes } from '../utils/index.js'; import type { VEditor } from '../virgo.js'; export interface VHandlerContext { event: E; data: string | null; vRange: VRange; skipDefault: boolean; attributes: T | null; } export declare class VirgoEventService { private readonly _editor; private _mountAbortController; private _handlerAbortController; private _isComposing; private _handlers; private _previousAnchor; private _previousFocus; constructor(editor: VEditor); defaultHandlers: VirgoEventService['_handlers']; mount: () => void; unmount: () => void; bindHandlers: (handlers?: VirgoEventService['_handlers']) => void; private _onSelectionChange; private _onCompositionStart; private _onCompositionEnd; private _firstRecomputeInFrame; private _onBeforeInput; private _onScroll; } //# sourceMappingURL=event.d.ts.map