import { EventEmitter } from "../../stencil-public-runtime";
import { Error } from "gracely";
import * as langly from "langly";
import "smoothly";
import { Notice, Trigger } from "smoothly";
import { Account, Key } from "@payfunc/model";
export declare class OnboardForm {
  apiKey: string;
  account: Account | undefined;
  number: string | undefined;
  merchant?: Key;
  responseTimer?: number;
  hostElement: HTMLElement;
  private element;
  t: langly.Translate;
  notice: EventEmitter<Notice>;
  processing: boolean;
  createAccount: EventEmitter<Account>;
  private cardToken?;
  private paymentMethods;
  private submitElement?;
  private email;
  private phone;
  private name;
  componentWillLoad(): Promise<void>;
  onUpdatedNotice(startProcessing: boolean): void;
  TriggerListener(event: CustomEvent<Trigger>): void;
  private getErrorMessage;
  private getUnknownErrorString;
  private findInputFields;
  submit(event: CustomEvent): Promise<Account | Error | undefined>;
  private submitHelper;
  private getClientData;
  legacyOutput(): boolean;
  componentDidRender(): void;
  render(): any[];
}
