UNPKG

cozy-iiif

Version:

A developer-friendly collection of abstractions and utilities built on top of @iiif/presentation-3 and @iiif/parser

4 lines (3 loc) 295 B
import { Annotation } from '@iiif/presentation-3'; import { CozyCanvas, CozyManifest } from '../types'; export declare const importAnnotations: <T extends CozyManifest | CozyCanvas>(resource: T, annotations: Annotation[], namespace?: string) => T extends CozyCanvas ? CozyCanvas : CozyManifest;