import type { AnnotationsTooltipConfig } from '../components/tooltip/types/annotations-tooltip-props.js'; import type { AnnotationsConfigProperties } from '../types/annotations-config-properties.js'; import type { TextOverflowOptions } from '../types/marker.js'; type AnnotationsSlots = { tracks?: unknown[]; tooltip?: AnnotationsTooltipConfig; showLabels?: boolean; textOverflow?: TextOverflowOptions; }; /** * Merges a context-supplied annotations configuration with a slot-supplied one, applying the * standard precedence rules shared by HistogramChart and TimeseriesChart: * - tracks: concatenated (context first, then slots), with context tracks populated via * `populateMissingContextTracksProps` to fill in defaults expected by the renderer * - tooltip.template: slot-only — the context config can only set `hidden` * - tooltip.hidden, showLabels (default `true`), textOverflow: slot-first, then context */ export declare function mergeAnnotationsConfig(contextAnnotations: AnnotationsConfigProperties | undefined, slotsAnnotations: TSlots | undefined): TSlots | undefined; export {}; //# sourceMappingURL=merge-annotations-config.d.ts.map