export declare class SallaLoginModal {
  constructor();
  host: HTMLElement;
  /**
   * Does the merchant allow to login using email
   */
  isEmailAllowed: boolean;
  /**
   * Does the merchant/current location for visitor allow to login using mobile, By default outside KSA is `false`
   */
  isMobileAllowed: boolean;
  /**
   * Does the merchant require registration with email & mobile
   */
  isEmailRequired: boolean;
  /**
   * Once the api verify success, it will be login the customer in web pages
   */
  supportWebAuth: boolean;
  /**
   * Display the login inline
   */
  inline: boolean;
  storeId: string | number;
  api: string;
  headers: {
    [key: string]: string;
  } | string;
  /**
   * Reload after a successful login
   */
  withoutReload: boolean;
  private modal;
  private iframe;
  private createPassKey;
  private htmlElement;
  messages: object[];
  isClosable: boolean;
  iframeLoaded: boolean;
  scrolling: string;
  direction: string;
  canRenderIframe: boolean;
  componentDidLoad(): void;
  /**
   * Open login component
   */
  open(_event?: any): Promise<void | HTMLElement>;
  private handleIframeReadyAction;
  private observeDarkModeChanges;
  private handleIframeStorageAction;
  private sendMessageToIframe;
  private sendInitMessage;
  private openModal;
  render(): any;
  private getLoginDom;
}
