import { BaseProperties, callWithContext } from 'ag-charts-core';
import type { AgChartOverlayRendererParams, DatumDefault, Renderer, TextOrSegments } 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 class Overlay extends BaseProperties {
    protected className: string;
    protected defaultMessageId: string;
    enabled: boolean;
    text?: TextOrSegments;
    renderer?: Renderer<AgChartOverlayRendererParams<DatumDefault>, HTMLElement>;
    private content?;
    private rendererAsText?;
    focusBox?: BBox;
    constructor(className: string, defaultMessageId: string);
    getText(localeManager: LocaleManager): string;
    getElement(callers: Parameters<typeof callWithContext>[0], animationManager: AnimationManager | undefined, localeManager: LocaleManager, rect: BBox): HTMLElement;
    removeElement(cleanup?: () => void | undefined, animationManager?: AnimationManager): void;
}
