import type { Annotation } from '../../../types'; interface RemoveAnnotationParams { annotations: Annotation[]; onRemove?: (annotation: Annotation) => Annotation | null; onChange?: (annotations: Annotation[]) => void; } export declare const removeAnnotation: ({ annotations, onRemove, onChange }: RemoveAnnotationParams) => (annotation: Annotation) => void; export {};