## 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

// @public
export function clickToPositionDom(container: HTMLElement, clientX: number, clientY: number, zoom?: number): number | null;

// @public
export function clipRectToTableWindow(spanEl: Element, rect: {
    readonly left: number;
    readonly top: number;
    readonly right: number;
    readonly bottom: number;
}): {
    left: number;
    top: number;
    right: number;
    bottom: number;
} | null;

// @public
export interface DomCaretPosition {
    // (undocumented)
    height: number;
    // (undocumented)
    pageIndex: number;
    // (undocumented)
    x: number;
    // (undocumented)
    y: number;
}

// @public
export interface DomSelectionRect {
    // (undocumented)
    height: number;
    // (undocumented)
    pageIndex: number;
    // (undocumented)
    width: number;
    // (undocumented)
    x: number;
    // (undocumented)
    y: number;
}

// @public (undocumented)
export function getCaretPositionFromDom(container: HTMLElement, pmPos: number, overlayRect: DOMRect): DomCaretPosition | null;

// @public (undocumented)
export function getSelectionRectsFromDom(container: HTMLElement, from: number, to: number, overlayRect: DOMRect): DomSelectionRect[];

```
