import type { BlockElement } from '@blockeditor/lit';

export * from './change-text-selection-sideways.js';
export * from './change-text-selection-sideways-to-block.js';
export * from './change-text-selection-to-block-start-end.js';
export * from './change-text-selection-vertically.js';
export * from './move-cursor-to-block.js';
export * from './move-cursor-vertically.js';
export * from './select-block.js';
export * from './select-block-text-by-side.js';
export * from './select-blocks-between.js';

declare global {
  namespace BlockEditor {
    interface CommandContext {
      focusBlock?: BlockElement | null;

      anchorBlock?: BlockElement | null;
    }
  }
}
