import { VegaDialogAction, VegaDialogActionButtonProps } from '../../components/vega-dialog/types';
import { VegaPublicAPIRuntimeMetricsSlimmerBase } from '../slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base';
export declare type VegaDialogOption = {
  title?: string;
  content?: string;
  type?: 'default' | 'danger';
  okButton?: VegaDialogActionButtonProps;
  handleOk?: VegaDialogAction;
  cancelButton?: VegaDialogActionButtonProps;
  handleCancel?: VegaDialogAction;
  showCancel?: boolean;
} & Partial<Pick<HTMLVegaModalElement, 'size' | 'isVerticallyCenter' | 'isVerticallyCentered' | 'showCloseButton' | 'handleClose'>>;
/**
 * The dialog controller
 */
declare class VegaDialogController {
  protected vegaPublicAPIRuntimeMetricsSlimmer: VegaPublicAPIRuntimeMetricsSlimmerBase;
  /**
   *
   * It creates a new `vega-dialog` element, sets its properties, appends it to the DOM, and opens it
   *
   * @param {VegaDialogOption} options - VegaDialogOption
   * @returns {HTMLVegaDialogElement} The dialog reference.
   * @vegaVersion 1.24.0
   */
  open(options: VegaDialogOption): HTMLVegaDialogElement;
}
export declare const VegaDialog: VegaDialogController;
export {};
