import { BaseProperties, type NormalisedTextOrSegments, callWithContext } from 'ag-charts-core'; import type { AgChartOverlayRendererParams, DatumDefault, ImageSegment, Renderer } from 'ag-charts-types'; import type { LocaleManager } from '../../locale/localeManager'; import type { BBox } from '../../scene/bbox'; import type { AnimationManager } from '../interaction/animationManager'; export declare const DEFAULT_OVERLAY_CLASS = "ag-charts-overlay"; export declare const DEFAULT_OVERLAY_DARK_CLASS = "ag-charts-dark-overlay"; export declare function imageSegmentStyle(segment: ImageSegment): Partial; export declare class Overlay extends BaseProperties { protected className: string; protected defaultMessageId: string; enabled: boolean; text?: NormalisedTextOrSegments; renderer?: Renderer, HTMLElement>; private content?; private rendererAsText?; focusBox?: BBox; constructor(className: string, defaultMessageId: string); getText(localeManager: LocaleManager): string; getElement(callers: Parameters[0], animationManager: AnimationManager | undefined, localeManager: LocaleManager, rect: BBox): HTMLElement; private appendImageSegment; removeElement(cleanup?: () => void | undefined, animationManager?: AnimationManager): void; }