@nulib/react-media-player
Version:
Viewer for audio, video and image file types driven by a IIIF manifest
8 lines (7 loc) • 463 B
TypeScript
import { Annotation, AnnotationPageNormalized, Canvas, CanvasNormalized, ExternalResourceTypes } from "@hyperion-framework/types";
export interface CanvasEntity {
canvas: CanvasNormalized | undefined;
annotationPage: AnnotationPageNormalized | undefined;
annotations: Array<Annotation | undefined>;
}
export declare const getCanvasByCriteria: (vault: any, item: Canvas, motivation: string, paintingType: Array<ExternalResourceTypes>) => CanvasEntity;