import { EventEmitter } from "../../stencil-public-runtime";
/**
 * Component that wraps chat elements into a layout.
 *
 * @cssprop --klevu-chat-layout-max-height 100vh The maxium height for the chat layout.
 */
export declare class KlevuChatLayout {
  #private;
  el: HTMLElement;
  /**
   * Show loading indicator
   */
  showLoading: boolean;
  showClose: boolean;
  /**
   * Current value of the text field
   */
  text: string;
  componentDidLoad(): void;
  /**
   * Scroll current chat to bottom of page
   */
  scrollMainToBottom(): Promise<void>;
  /**
   * Close the popup menu
   */
  closePopup(): Promise<void>;
  /**
   * Event emitted when user sends a message
   */
  klevuChatLayoutMessageSent: EventEmitter<string>;
  /**
   * Event emitted when user closes the chat layout
   */
  klevuChatLayoutClose: EventEmitter<void>;
  render(): any;
}
