import { BaseProperties } from 'ag-charts-core';
import type { FontStyle, FontWeight, TextAlign, TextOrSegments, TextWrap } from 'ag-charts-types';
import type { ModuleContext } from '../module/moduleContext';
import { RotatableText } from '../scene/shape/text';
import type { CaptionLike } from './captionLike';
export declare class Caption extends BaseProperties implements CaptionLike {
    static readonly className = "Caption";
    static readonly SMALL_PADDING = 10;
    readonly id: string;
    readonly node: RotatableText;
    enabled: boolean;
    text?: TextOrSegments;
    textAlign: TextAlign;
    fontStyle?: FontStyle;
    fontWeight?: FontWeight;
    fontSize: number;
    fontFamily: string;
    color?: string;
    spacing?: number;
    maxWidth?: number;
    maxHeight?: number;
    wrapping: TextWrap;
    padding: number;
    layoutStyle: 'block' | 'overlay';
    private truncated;
    private proxyText?;
    private proxyTextListeners?;
    private lastProxyTextContent?;
    private lastProxyBBox?;
    registerInteraction(moduleCtx: ModuleContext, where: 'beforebegin' | 'afterend'): () => void;
    computeTextWrap(containerWidth: number, containerHeight: number): void;
    private updateA11yText;
    private handleMouseMove;
    private handleMouseLeave;
    destroy(): void;
    private destroyProxyText;
}
