import type { AgTooltipMode, TextOrSegments, TextValue } from 'ag-charts-types';
import { type LegendSymbolOptions } from '../legend/legendSymbol';
export declare const DEFAULT_TOOLTIP_CLASS = "ag-charts-tooltip";
export declare const DEFAULT_TOOLTIP_DARK_CLASS = "ag-charts-tooltip--dark";
interface LocaleManager {
    t(key: string, variables?: Record<string, any>): string;
}
export type TooltipContentDataRow = {
    label: string;
    fallbackLabel?: string;
    value: TextValue;
    missing?: boolean;
} | {
    label: undefined;
    fallbackLabel: string;
    value: TextValue;
    missing?: boolean;
};
export type TooltipStructuredContent = {
    heading?: TextOrSegments;
    title?: TextOrSegments;
    symbol?: LegendSymbolOptions;
    data?: TooltipContentDataRow[];
};
export type TooltipContent = ({
    type: 'structured';
} & TooltipStructuredContent) | {
    type: 'raw';
    rawHtmlString: string;
};
export interface TooltipPaginationState {
    index: number;
    length: number;
}
/**
 * Determines if a value should be treated as missing in tooltips.
 * Only null, undefined, NaN, and Infinity are considered missing.
 * Strings, Dates, and other non-numeric values are valid for category/time axes.
 */
export declare function isTooltipValueMissing(value: any, allowNull?: boolean): boolean;
/**
 * Check if tooltip content has all data marked as missing.
 * Used to filter out series with no valid data in shared tooltips.
 */
export declare function hasAllMissingData(content: TooltipContent): boolean;
export declare function tooltipContentAriaLabel(ungroupedContent: TooltipContent[]): string;
export declare function tooltipHtml(localeManager: LocaleManager | undefined, content: TooltipContent[], mode: AgTooltipMode, pagination: TooltipPaginationState | undefined): string | undefined;
export {};
