import { EventEmitter } from "../../stencil-public-runtime";
import { MoiSession, MoiProducts } from "@klevu/core";
export type MoiProduct = MoiProducts["productData"]["products"][0];
/**
 * Klevu MOI Application
 */
export declare class KlevuMoi {
  #private;
  session?: MoiSession;
  currentProduct?: MoiProduct;
  messages: MoiSession["messages"];
  loading: boolean;
  el: HTMLKlevuMoiElement;
  /**
   * Show close button
   */
  showClose: boolean;
  /**
   * Override default API key
   */
  apiKey?: string;
  /**
   * When a product is clicked. By default does a full page redirect to product url if event is not cancelled.
   *
   * Use `event.preventDefault()` to cancel the redirect.
   * @param product
   */
  klevuMoiProductClick: EventEmitter<MoiProduct>;
  /** By default redirect the page if product click is not cancelled */
  onKlevuMoiProductClick(event: CustomEvent<MoiProduct>): void;
  connectedCallback(): Promise<void>;
  onMessage(): void;
  render(): any;
  renderChatContent(): any;
}
