## 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 { Command } from 'prosemirror-state';
import { EditorState } from 'prosemirror-state';
import { Mark } from 'prosemirror-model';
import { MarkType } from 'prosemirror-model';

// @public (undocumented)
export const clearFontFamily: Command;

// @public (undocumented)
export const clearFontSize: Command;

// @public
export const clearFormatting: Command;

// @public (undocumented)
export const clearHighlight: Command;

// @public (undocumented)
export const clearTextColor: Command;

// @public
export function createRemoveMarkCommand(markType: MarkType): Command;

// @public
export function createSetMarkCommand(markType: MarkType, attrs?: Record<string, unknown>): Command;

// @public
export function findHyperlinkRangeAt(state: EditorState, fallbackHref?: string): {
    mark: Mark;
    start: number;
    end: number;
} | null;

// @public (undocumented)
export function getHyperlinkAttrs(state: EditorState): {
    href: string;
    tooltip?: string;
} | null;

// @public
export function getMarkAttr(state: EditorState, markType: MarkType, attr: string): unknown | null;

// @public (undocumented)
export function getSelectedText(state: EditorState): string;

// @public (undocumented)
export function insertHyperlink(text: string, href: string, tooltip?: string): Command;

// @public (undocumented)
export function isHyperlinkActive(state: EditorState): boolean;

// @public
export function isMarkActive(state: EditorState, markType: MarkType, attrs?: Record<string, unknown>): boolean;

// @public (undocumented)
export const removeHyperlink: Command;

// @public (undocumented)
export function setFontFamily(fontName: string): Command;

// @public (undocumented)
export function setFontSize(size: number): Command;

// @public (undocumented)
export function setHighlight(color: string): Command;

// @public (undocumented)
export function setHyperlink(href: string, tooltip?: string): Command;

// @public (undocumented)
export function setTextColor(attrs: TextColorAttrs): Command;

// @public (undocumented)
export function setUnderlineStyle(style: string, color?: TextColorAttrs): Command;

// @public
export function textFormattingToMarks(formatting: TextFormatting): Mark[];

// @public (undocumented)
export const toggleBold: Command;

// @public (undocumented)
export const toggleItalic: Command;

// @public (undocumented)
export const toggleStrike: Command;

// @public (undocumented)
export const toggleSubscript: Command;

// @public (undocumented)
export const toggleSuperscript: Command;

// @public (undocumented)
export const toggleUnderline: Command;

```
