import type { FormatAdapter, ParseResult } from '@annotorious/core'; import type { W3CTEIAnnotation } from './w3c-tei-annotation'; import type { TEIAnnotation } from '../tei-annotation'; export type W3CTEIFormatAdapter = FormatAdapter; /** * @param source - the IRI of the annotated content * @param container - the HTML container of the annotated content, * Required to locate the content's `range` within the DOM */ export declare const W3CTextFormat: (source: string) => W3CTEIFormatAdapter; export declare const parseW3CTEIAnnotation: (annotation: E) => ParseResult; export declare const serializeW3CTEIAnnotation: (annotation: I, source: string) => E;