UNPKG

@allmaps/annotation

Version:

Functions for generating and parsing IIIF georeference annotations

4 lines (3 loc) 290 B
import type { Annotation1, AnnotationPage1, GeoreferencedMap2 } from './types.js'; export declare function validateAnnotation(annotation: unknown): Annotation1 | AnnotationPage1; export declare function validateGeoreferencedMap(mapOrMaps: unknown): GeoreferencedMap2 | GeoreferencedMap2[];