import type { Image } from '@lunit/insight-viewer'; import type { Point } from '../types'; import type { AnnotationMode, Annotation } from '../types'; interface GetInitialAnnotationParams { id: number; image: Image | null; currentPoints: [Point, Point]; mode: AnnotationMode; } /** * The initial Annotation has the same start Point and end Point. * Because Annotation needs to be created based on the coordinates at the time of click. */ export declare function createInitialAnnotation({ id, mode, image, currentPoints }: GetInitialAnnotationParams): Annotation; export {};