/** * Copyright (c) Microsoft. All rights reserved. */ import { ISvgRendererProps, ISvgRendererPropsFactory } from '../types/labelerTypes'; export declare const getSvgRendererKey: (props: ISvgRendererProps) => string; /** * Creates the required SVG properties to render a label * or a negative label based on the label annotation passed * in the parameters. * * Read more about how this function works in `svgUtils.md`. * * @param param0.data The relation annotation data. * @param param0.scrollOffset The offset due to scrolling in the main container. * @param param0.containerCoordinates The x and y coordinates of the root container. * @param param0.getTokenElementByIndex A helper function to get a token HTML * element by a given index. */ export declare const labelAnnotationToSvgPropsFactory: ISvgRendererPropsFactory; /** * Creates the required SVG properties to render a relation * arrow based on the annotation passed in the parameters. * * Read more about how this function works in `svgUtils.md`. * * @param data The relation annotation data. * @param lineStores The line stores that contain the line data. * @param scrollOffset The offset due to scrolling in the main container. * @param containerCoordinates The x and y coordinates of the root container. * @param getTokenElementByIndex A helper function to get a token HTML * element by a given index. * @param annotationsPerTokenMap A map of annotations array that pass through * per each token. */ export declare const relationAnnotationToSvgPropsFactory: ISvgRendererPropsFactory; /** * Creates the required SVG properties to render a prediction * based on the label annotation passed in the parameters. * * Read more about how this function works in `svgUtils.md`. * * @param param0.data The relation annotation data. * @param param0.scrollOffset The offset due to scrolling in the main container. * @param param0.containerCoordinates The x and y coordinates of the root container. * @param param0.getTokenElementByIndex A helper function to get a token HTML * element by a given index. */ export declare const predictionAnnotationToSvgPropsFactory: ISvgRendererPropsFactory;