import type { QueryPillItem } from './types';
/**
 * Structured tooltip model produced by {@link getQueryPillTooltipModel}.
 *
 * @sisenseInternal
 */
export type TooltipModel = {
    layoutText: string;
    typeLabel: 'Measure' | 'Dimension' | 'Filter';
    /** Resolved field path or display fallback; may duplicate {@link TooltipModel.formula}. */
    column: string;
    formula: string;
    /** When false, the UI omits the "Column:" row (empty/`-` or same as the pill display name). */
    showColumnInTooltip: boolean;
    /** When false, the UI omits the "Formula:" row (identical to Column, e.g. plain DM dimensions). */
    showFormulaInTooltip: boolean;
};
/**
 * Strips `measureFactory.`, `filterFactory.`, and `DM.` from compose code for tooltip display.
 * Preserves the rest of the string (including quoted literals). Rare titles containing `DM.`
 * inside quotes may be altered.
 *
 * @internal
 */
export declare function simplifyComposeCodeForTooltip(composeCode: string): string;
/**
 * Builds the structured tooltip model rendered by {@link QueryPill} from a {@link QueryPillItem}.
 * Returns `null` when the item has no tooltip-eligible data (e.g. operator pills or pills without `tooltipData`).
 *
 * @sisenseInternal
 */
export declare function getQueryPillTooltipModel(item: QueryPillItem): TooltipModel | null;
