## API Report File for "@eigenpal/docx-editor-core"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { EditorState } from 'prosemirror-state';
import { Plugin as Plugin_2 } from 'prosemirror-state';
import { PluginKey } from 'prosemirror-state';

// @public
export function createSelectionTrackerPlugin(onSelectionChange?: SelectionChangeCallback): Plugin_2;

// @public
export function extractSelectionContext(state: EditorState): SelectionContext;

// @public
export function getSelectionContext(state: EditorState): SelectionContext | null;

// @public
export type SelectionChangeCallback = (context: SelectionContext) => void;

// @public
export interface SelectionContext {
    activeCommentIds: number[];
    endParagraphIndex: number;
    hasSelection: boolean;
    inDeletion: boolean;
    inInsertion: boolean;
    inList: boolean;
    isMultiParagraph: boolean;
    listLevel?: number;
    listType?: 'bullet' | 'numbered';
    paragraphFormatting: ParagraphFormatting;
    startParagraphIndex: number;
    textFormatting: TextFormatting;
}

// @public
export const selectionTrackerKey: PluginKey<SelectionContext>;

```
