import { GlobalSlimmers } from '../../vega-slimmer/vega-slimmer-core';
import { VegaTextTooltipProps } from './types';
import { VegaTextTooltipRenderer } from './slimmers/renderers/vega-text-tooltip-renderer';
import { VegaComponentUsageRuntimeMetricsSlimmer } from '../../helpers/slimmers/component-usage-runtime-metrics';
/**
 * @vegaVersion 1.9.1
 */
export declare class VegaText {
  protected readonly globalSlimmers: GlobalSlimmers;
  protected readonly tooltipRenderer: VegaTextTooltipRenderer;
  protected vegaComponentUsageRuntimeMetricsSlimmer: VegaComponentUsageRuntimeMetricsSlimmer<HTMLVegaTextElement>;
  host: HTMLVegaTextElement;
  /**
   * Specifies the behavior of text when it exceeds the
   *    available space within its container.
   *
   * @vegaVersion 1.18.0
   */
  overflow: 'ellipsis' | 'newline';
  /**
   * Specifies the properties of the vega-tooltip in vega-text.
   *
   * @vegaVersion 2.0.0
   */
  tooltip: VegaTextTooltipProps;
  /**
   * The below method is e2e-test covered in
   * @see{module:vega-text-with-tooltip-placement}
   */
  /** Watching the tooltip prop. */
  watchTooltip(): void;
  componentDidLoad(): void;
  render(): VegaText;
}
