UNPKG

@recogito/annotorious

Version:

A JavaScript image annotation library

17 lines 1.38 kB
export * from './Annotorious'; export type { Annotation, AnnotationBody, AnnotationTarget, Annotator, AnnotatorState, Color, DrawingStyle, FormatAdapter, ParseResult, User, W3CAnnotation, W3CAnnotationBody, W3CAnnotationTarget, W3CSelector } from '@annotorious/core/src/model'; export declare const defaultColorProvider: () => { assignRandomColor: () => string; releaseColor: (color: string) => number; }; export type { HoverState, Selection, SelectionState, Store, StoreChangeEvent, StoreObserver } from '@annotorious/core/src/state'; import { PointerSelectAction as _PointerSelectAction } from '@annotorious/core/src/state'; export declare const PointerSelectAction: typeof _PointerSelectAction; export declare const createBody: (annotation: import("@annotorious/annotorious").Annotation, payload: { [key: string]: any; }, created?: Date, creator?: import("@annotorious/annotorious").User) => import("@annotorious/annotorious").AnnotationBody; export type { ImageAnnotator, ImageAnnotation, ImageAnnotatorState, Polygon, Rectangle, Shape } from '@annotorious/annotorious'; import { ShapeType as _ShapeType } from '@annotorious/annotorious'; export declare const ShapeType: typeof _ShapeType; export declare const W3CImageFormat: (source: string, invertY?: boolean) => import("@annotorious/annotorious").W3CImageFormatAdapter; //# sourceMappingURL=index.d.ts.map