## 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 interface EditorInterface {
    focus(): void;
    getSelection(): {
        from: number;
        to: number;
    } | null;
    setSelection(pos: number): void;
    setSelectionRange(from: number, to: number): void;
}

// @public
export type InputEventCallback = (event: {
    type: 'click' | 'doubleClick' | 'tripleClick' | 'dragStart' | 'drag' | 'dragEnd';
    position?: number;
    from?: number;
    to?: number;
}) => void;

// @public
export class PointerEventHandler {
    constructor(options: PointerEventHandlerOptions);
    attach(container: HTMLElement): void;
    cancelDrag(): void;
    detach(): void;
    getDragAnchor(): number | null;
    isDragging(): boolean;
    // (undocumented)
    static readonly MULTI_CLICK_DELAY = 500;
    setPositionResolver(positionResolver: ClickPositionResolver): void;
}

// @public
export interface PointerEventHandlerOptions {
    editor: EditorInterface;
    onInput?: InputEventCallback;
    positionResolver: ClickPositionResolver;
}

```
