## 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 { DecorationSet } from 'prosemirror-view';
import { EditorView } from 'prosemirror-view';
import { Plugin as Plugin_2 } from 'prosemirror-state';
import { PluginKey } from 'prosemirror-state';
import * as prosemirror_state from 'prosemirror-state';

// @public
export function createTemplatePlugin(): Plugin_2<TemplatePluginState>;

// @public
export function getTemplateTags(state: prosemirror_state.EditorState): TemplateTag[];

// @public
export function setHoveredElement(view: EditorView, id: string | undefined): void;

// @public
export function setSelectedElement(view: EditorView, id: string | undefined): void;

// @public
export type TagType = 'variable' | 'sectionStart' | 'sectionEnd' | 'invertedStart' | 'raw';

// @public
export const TEMPLATE_DECORATION_STYLES = "\n.docx-template-tag {\n  cursor: pointer;\n  transition: background-color 0.1s;\n}\n\n.docx-template-tag:hover,\n.docx-template-tag.hovered {\n  filter: brightness(0.95);\n}\n\n.docx-template-tag.selected {\n  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);\n}\n";

// @public
export const templatePluginKey: PluginKey<TemplatePluginState>;

// @public
export interface TemplateTag {
    // (undocumented)
    from: number;
    // (undocumented)
    id: string;
    insideSection?: boolean;
    // (undocumented)
    name: string;
    nestedVars?: string[];
    // (undocumented)
    rawTag: string;
    // (undocumented)
    to: number;
    // (undocumented)
    type: TagType;
}

```
