@allmaps/annotation
Version:
Functions for generating and parsing IIIF georeference annotations
6 lines (5 loc) • 627 B
TypeScript
import type { Annotation1, AnnotationPage1, AnnotationAllVersions, AnnotationPageAllVersions, GeoreferencedMap2, GeoreferencedMaps2, GeoreferencedMapAllVersions, GeoreferencedMapsAllVersions } from './types.js';
export declare function toAnnotation1(annotation: AnnotationAllVersions): Annotation1;
export declare function toAnnotationPage1(annotationPage: AnnotationPageAllVersions): AnnotationPage1;
export declare function toGeoreferencedMap2(georeferencedMap: GeoreferencedMapAllVersions): GeoreferencedMap2;
export declare function toGeoreferencedMaps2(georeferencedMap: GeoreferencedMapsAllVersions): GeoreferencedMaps2;