import { JSX, ReactNode } from 'react'; import { Filter } from '@annotorious/react'; import type { FormatAdapter } from '@annotorious/core'; import type { AnnotatingMode, TextAnnotation, TextAnnotatorOptions } from '@recogito/text-annotator'; import '@recogito/text-annotator/text-annotator.css'; export interface TextAnnotatorProps extends Omit, 'adapter'> { children?: ReactNode | JSX.Element; adapter?: FormatAdapter | ((container: HTMLElement) => FormatAdapter); annotatingMode?: AnnotatingMode; filter?: Filter; hideAnnotations?: boolean; className?: string; } export declare const TextAnnotator: (props: TextAnnotatorProps) => JSX.Element;