## 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 { EditorView } from 'prosemirror-view';
import { Node as Node_2 } from 'prosemirror-model';

// @public
export function clampRangeToDoc(doc: Node_2, from: number, to: number): PmRange | null;

// @public
export function findChangeRange(view: EditorView | null, revisionId: number): PmRange | null;

// @public
export function findCommentRange(view: EditorView | null, commentId: number): PmRange | null;

// @public
export function findInDocument(view: EditorView | null, query: string, opts?: {
    caseSensitive?: boolean;
    limit?: number;
}): FindInDocumentMatch[];

// @public (undocumented)
export interface FindInDocumentMatch {
    // (undocumented)
    after: string;
    // (undocumented)
    before: string;
    // (undocumented)
    match: string;
    // (undocumented)
    paraId: string;
}

// @public
export function getPageContent(view: EditorView | null, layout: Layout | null, pageNumber: number): PageContent | null;

// @public
export function getSelectionInfo(view: EditorView | null): SelectionInfo | null;

// @public (undocumented)
export interface PageContent {
    // (undocumented)
    pageNumber: number;
    // (undocumented)
    paragraphs: Array<{
        paraId: string;
        text: string;
        styleId?: string;
    }>;
    // (undocumented)
    text: string;
}

// @public
export interface PmRange {
    // (undocumented)
    from: number;
    // (undocumented)
    to: number;
}

// @public (undocumented)
export interface SelectionInfo {
    // (undocumented)
    after: string;
    // (undocumented)
    before: string;
    // (undocumented)
    paragraphText: string;
    // (undocumented)
    paraId: string | null;
    // (undocumented)
    selectedText: string;
}

// (No @packageDocumentation comment for this package)

```
