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