import { VegaComponentInterface } from '../../types/ui.type';
import { BreakpointsTokenType } from '../../types/design-token.type';
import { VegaDialogAction, VegaDialogActionButtonProps } from './types';
import { GlobalSlimmers } from '../../vega-slimmer/vega-slimmer-core';
import { PageResizeObserverSlimmer } from '../../helpers/slimmers/page-resize-observer-slimmer';
import { VegaComponentUsageRuntimeMetricsSlimmer } from '../../helpers/slimmers/component-usage-runtime-metrics';
/**
 * @vegaVersion 1.24.0
 */
export declare class VegaDialog {
  protected readonly globalSlimmers: GlobalSlimmers;
  /**
   * The below method is e2e-test covered in
   * @see{module:vega-dialog-resize-e2e}
   */
  protected readonly pageResizeObserverSlimmer: PageResizeObserverSlimmer;
  protected vegaComponentUsageRuntimeMetricsSlimmer: VegaComponentUsageRuntimeMetricsSlimmer<HTMLVegaDialogElement>;
  /**
   * the default size for DESKTOP and TABLET
   */
  private readonly dialogDefaultSize;
  host: HTMLVegaDialogElement;
  currentBreakpoint: BreakpointsTokenType;
  /**
   * Specifies the title of the dialog.
   *
   * @vegaVersion 1.24.0
   */
  dialogTitle?: string;
  /**
   * Specifies the text content of the dialog.
   *
   * @vegaVersion 1.24.0
   */
  content?: string;
  /**
   * Specifies the type of the dialog.
   *
   * Use the value `danger` when the dialog's primary action is destructive.
   *
   * @vegaVersion 1.24.0
   */
  type?: 'default' | 'danger';
  /**
   * Represents a dictionary that contains the configuration options
   *    for the action button in the dialog.
   *
   * @vegaVersion 1.24.0
   */
  okButton?: VegaDialogActionButtonProps;
  /**
   * Represents the function that will be executed when the
   *    user clicks the action button in the dialog.
   *
   * @vegaVersion 1.24.0
   */
  handleOk?: VegaDialogAction;
  /**
   * Represents a dictionary that contains the configuration options
   *    for the cancel button in the dialog.
   *
   * @vegaVersion 1.24.0
   */
  cancelButton?: VegaDialogActionButtonProps;
  /**
   * Represents the function that will be executed when the user
   *    clicks the cancel button in the dialog.
   *
   * @vegaVersion 1.24.0
   */
  handleCancel?: VegaDialogAction;
  /**
   * Determines whether the cancel button should be displayed.
   *
   * @vegaVersion 1.24.0
   */
  showCancel: boolean;
  /**
   * Represents a dictionary that contains the configuration options
   *    for the modal component used to display the dialog.
   *
   * @vegaVersion 1.24.0
   */
  modalProps: Partial<VegaComponentInterface<HTMLVegaModalElement>>;
  render(): VegaDialog;
  private onModalClose;
  private handleCancelBtnClick;
  private handleOkBtnClick;
}
