import { EventEmitter } from "../../stencil-public-runtime";
export declare class EzPopover {
  private _container;
  private _box;
  private _floatingID;
  private _firstRender;
  _host: any;
  /**
   * Define que será fechado automaticamente quando o usuário clicar fora do conteúdo.
   */
  autoClose: boolean;
  /**
   * Ajusta o comportamento da largura do popover.
   */
  boxWidth: "full-width" | "fit-content";
  /**
   * Define se o ez-popover está aberto.
   */
  opened: boolean;
  /**
   * Define as tags que serão consideradas conteúdo.
   */
  innerElement: Array<string> | string;
  /**
   * Define o tipo de overlay do popover.
   */
  overlayType: "medium" | "light" | "none";
  /**
   * Emitido quando acontece a alteração de estado do componente.
   */
  ezVisibilityChange: EventEmitter<boolean>;
  observeOpened(newValue: boolean, oldValue: boolean): void;
  innerClickTest: (_popOvercontainer: HTMLElement, node: HTMLElement, eventOrigin?: MouseEvent) => boolean;
  backClickListener: () => void;
  /**
   * Atualiza a posição do popover.
   */
  updatePosition(top?: string, left?: string): Promise<void>;
  /**
   * Exibe o ez-popover.
   */
  show(top?: string, left?: string): Promise<void>;
  /**
   * Ancora a exibição do popOver a um elemento HTML.
   */
  showUnder(element: HTMLElement, options?: IEzPopoverAnchorOptions): Promise<void>;
  private calculatePosition;
  private float;
  /**
   * Oculta o ez-popover.
   */
  hide(): Promise<void>;
  componentDidRender(): void;
  render(): any;
}
export interface IEzPopoverAnchorOptions {
  horizontalGap?: number;
  verticalGap?: number;
  fromRight?: boolean;
}
