///
import type { VideoAnnotationType, Attribute, VideoAnnotationInUI } from '@labelu/interface';
import type { MediaAnnotatorProps, MediaAnnotatorRef } from '@labelu/components-react';
export interface VideoProps {
src: string;
annotations: VideoAnnotationInUI[];
selectedAnnotation?: VideoAnnotationInUI;
toolConfig?: {
segment?: Attribute[];
frame?: Attribute[];
};
editingType?: VideoAnnotationType;
editingLabel?: string;
annotatorRef?: React.RefObject;
disabled?: boolean;
showOrder?: boolean;
playerRef?: React.RefObject;
onChange?: (annotations: VideoAnnotationInUI) => void;
onAdd?: (annotations: VideoAnnotationInUI) => void;
onAnnotationSelect?: (annotation: VideoAnnotationInUI, e: React.MouseEvent) => void;
onAnnotateEnd?: (annotation: VideoAnnotationInUI, e?: MouseEvent) => void;
requestEdit?: MediaAnnotatorProps['requestEdit'];
className?: string;
}
declare const VideoAnnotator: import("react").ForwardRefExoticComponent>;
export default VideoAnnotator;
//# sourceMappingURL=Video.d.ts.map