import { ChartGraphMode } from '../../types/vega-chart';
/** The GraphContextFactory class provides a method to create and return either a HTMLCanvasElement or SVGElement based on the specified mode and container element. */
export declare class GraphContextFactory {
  /**
   * This function returns either a HTMLCanvasElement or an SVGElement based on the specified mode and container.
   *
   * @param {ChartGraphMode} mode - A string that specifies the mode of the chart graph. It can be either 'canvas' or 'svg'.
   * @param {HTMLElement} container - HTMLElement - the HTML element that will contain the chart/graph.
   * @returns {SVGElement | HTMLCanvasElement} either a HTMLCanvasElement or an SVGElement depending on the value of the `mode` parameter.
   */
  static get<T extends ChartGraphMode>(mode: T | undefined, container: HTMLElement | ShadowRoot): SVGElement | HTMLCanvasElement;
}
