/** * Copyright (c) Microsoft. All rights reserved. */ import { LabelerAnnotationsStore } from '../stores/LabelerAnnotationsStore'; import { AnnotationData } from '../types/labelerTypes'; /** * This hook controls annotations resizing behavior. It registers * event handlers on the document level whenever the user starts * dragging an annotation and removes them whenever the user cancels * or stops resizing an annotation. */ export declare const useAnnotationResizer: (annotationStore: LabelerAnnotationsStore, onAnnotationResize: (annotation: AnnotationData) => void) => { onResize: (annotationId: string, knob: 'start' | 'end') => void; isResizing: boolean; };