export type AnnotationRenderer = (ctx: { annotation: any; scaleX: (v: number) => number; scaleY: (v: number) => number; plotWidth: number; plotHeight: number; }) => any; export declare function registerAnnotationRenderer(shape: string, renderer: AnnotationRenderer): void; export declare function getAnnotationRenderer(shape: string): AnnotationRenderer | undefined; export declare function renderAnnotation(a: any, helpers: Omit[0], 'annotation'>): any;