import { Nullable } from '../../../../types/general';
import type { RTENode } from '../nodes/node.abstract';
import { ModifyContentAction } from './modify-content-action.abstract';
/**
 * Update the cursor position in the editor.
 *
 * @example richEditorRef.value.apply(new UpdateCursorPositionAction(nextFocusNode, [offset], [immediatelyRun]))
 */
export declare class UpdateCursorPositionAction extends ModifyContentAction {
  isFlushable: boolean;
  type: string;
  nextFocusNode: RTENode;
  offset: Nullable<number>;
  immediatelyRun: boolean;
  /**
   * Set the cursor position at end of the current node.
   *
   * @param {RTENode} nextFocusNode - The rich text editor needs focus node.
   * @param {number} offset - The cursor offset position.
   * @param {boolean} immediatelyRun - Whether to immediately set the cursor position after applying it. Usually the set action will trigger after the UI renders.
   */
  constructor(nextFocusNode: RTENode, offset?: number, immediatelyRun?: boolean);
}
