UNPKG

manifesto.js

Version:

IIIF Presentation API utility library for client and server

11 lines (10 loc) 457 B
import { AnnotationMotivation } from "@iiif/vocabulary/dist-commonjs"; import { AnnotationBody, IManifestoOptions, ManifestResource, Resource } from "./internal"; export declare class Annotation extends ManifestResource { constructor(jsonld: any, options: IManifestoOptions); getBody(): AnnotationBody[]; getMotivation(): AnnotationMotivation | null; getOn(): string; getTarget(): string | null; getResource(): Resource; }