import { ElementAppenderShowConfig } from '../../../ui/element-appender';
import { BodyPositionedWrapper } from './body-positioned-wrapper.abstract';
/**
 * This class is is used to get vega-modal element as a container and store the element appender element to slot.
 *
 * @property {HTMLElement} showConfig the show config
 */
export declare class VegaModalWrapper extends BodyPositionedWrapper {
  showConfig: ElementAppenderShowConfig;
  /**
   * The canRetrieve function just determines whether the target of showConfig has the `vega-modal` element. If not, search upwards layer by layer.
   *
   * @returns {boolean} the boolean type.
   */
  canRetrieve(): boolean;
  /**
   * The retrieve function get the slot position of vega-modal element.
   *
   * @returns {HTMLElement} the element.
   */
  retrieve(): HTMLElement;
  /**
   * This function `getVegaModalContentWithoutScroll` determines whether vega-modal has a slot whose name is `content` or `modal-content`. If there is a component rendered in the modal, the elementAppender added to the corresponding slot attribute is added. If not, the elementAppender is not directly appended to the root directory of vega-modal.
   *
   * @param {Nullable<HTMLElement>} parentModal The parentModal is vega-modal element.
   * @param {Nullable<HTMLElement>} element The parentModal is vega-modal element.
   */
  private setElementSlot;
  /**
   * The function "getShowConfigContainer" returns the appended element container. If the modal content can be scrolled, the container is the div element that wraps the append element. Otherwise, the container is the modal dialog itself.
   *
   * @returns {HTMLElement} the `scrollContainer` element.
   */
  private getVegaModalShowConfigContainer;
}
