import { default as OpenSeadragon } from 'openseadragon'; import { AnnotationState, DrawingStyleExpression, Filter, Selection } from '@annotorious/core'; import { ImageAnnotation } from '@annotorious/annotorious'; export declare const createStage: (viewer: OpenSeadragon.Viewer, canvas: HTMLCanvasElement) => { addAnnotation: (annotation: ImageAnnotation, state?: AnnotationState) => void; destroy: () => void; getScale: () => number; redraw: () => void; removeAnnotation: (annotation: ImageAnnotation) => void; resize: (width: number, height: number) => void; setFilter: (filter?: Filter) => void; setHovered: (annotationId?: string) => void; setSelected: (selection: Selection) => void; setStyle: (s?: DrawingStyleExpression) => void; setVisible: (visible: boolean) => void; updateAnnotation: (oldValue: ImageAnnotation, newValue: ImageAnnotation, state?: AnnotationState) => void; };