import type { TextAnnotation, TextAnnotatorOptions } from '@recogito/text-annotator'; import { Origin } from '@annotorious/core'; import type { Annotator, Store } from '@annotorious/core'; import type { TEIAnnotation } from './tei-annotation'; export type TEIAnnotationStore = Store & { bulkAddAnnotation(annotations: TextAnnotation[], replace: boolean, origin: Origin): TEIAnnotation[]; getAt(x: number, y: number): TEIAnnotation | undefined; getIntersecting(minX: number, minY: number, maxX: number, maxY: number): TEIAnnotation[]; recalculatePositions(): void; }; export type TEIAnnotator = Annotator; export declare const createTEIAnnotator: (container: HTMLElement, options?: TextAnnotatorOptions) => TEIAnnotator;