import { FC } from 'react'; type lineFlow = 'straight' | 'flows' | 'curves'; type markerTypes = 'none' | 'dot' | 'arrow'; export type alignType = 'start' | 'middle' | 'end'; export interface AnnotationData { x: number; y: number; content: { [key: string]: any; } | string; offsetX?: number; offsetY?: number; align: alignType; } export interface OffsetAnnotationTypes { position: [number, number]; content: { [key: string]: any; } | string; svgSize: number[]; Comp?: FC; offset?: [number, number]; alignOverwrite?: alignType; lineHeight: number; linePadding?: number; lineFlow?: lineFlow; marker?: markerTypes[]; hideMarker?: boolean; } export interface AnnotationComponentProps { content: { [key: string]: any; } | string; align: alignType; lineHeight: number; } export interface AnnotationLayerTypes { annotations: AnnotationData[]; children: React.Component | React.FunctionComponent; AnnotationComponent?: React.FC; id?: string; locator?: boolean; lineHeight?: number; linePadding?: number; lineFlow?: lineFlow; marker?: ('none' | 'dot' | 'arrow')[]; hideMarker?: boolean; } export interface BaseAnnotationComponentProps { content: { [key: string]: any; } | string; align: alignType; lineHeight: number; } export {}; //# sourceMappingURL=types.d.ts.map