import type { IAnnotation } from "../../Charting/Visuals/Annotations/IAnnotation"; import type { TAnnotationDefinition } from "../types/AnnotationDefinitions"; /** * Registration-free annotation building: resolves every type through the class factory registry * and references no concrete annotation class. The self-registering wrapper lives in * ../buildAnnotations.ts. */ /** * Build one or more annotations from a definition that can be pure data. Every annotation type * must be registered (see `Builder/register/annotations`). * @param definition One or an array of {@link TAnnotationDefinition} * @returns An array of annotations */ export declare const buildAnnotations: (definition: TAnnotationDefinition | TAnnotationDefinition[]) => IAnnotation[];