import { EventEmitter } from "../../../../stencil-public-runtime";
import { Flags } from "flagly";
import { Error } from "gracely";
import * as langly from "langly";
import { Identifier, Payload, Token } from "authly";
import { Trigger } from "smoothly";
import "../../installment-details";
import "../../invoice-details";
import "../../card-details";
import { CheckoutClient, Order, PaymentCreatable, PaymentOption } from "../../model";
import { SubmitResult } from "./PaymentDetails";
import { PaymentOptionData } from "./PaymentOptionData";
export declare class IntergiroPaymentOptions {
  element: HTMLElement;
  t: langly.Translate;
  client: CheckoutClient;
  cosmetic?: string;
  options: PaymentOption[];
  selected?: string;
  flags?: Flags;
  verify?: [Partial<Order>, (order: Partial<Order>) => void];
  url?: string;
  paymentFailed: EventEmitter;
  trigger: EventEmitter<Trigger>;
  resolve?: (value: SubmitResult) => void;
  details?: PaymentOptionData[];
  componentWillLoad(): Promise<void>;
  handleToggle(event: CustomEvent<{
    name: string;
    selected: boolean;
  }>): void;
  private findDeferOrderId;
  submit(partialOrder: Order | Omit<Order.Creatable, "payment">, apiKey: string, merchant: Payload): Promise<SubmitResult>;
  private confirmPayment;
  private resolveOrder;
  submitHelper(id: Identifier | undefined, order: Omit<Order | Order.Creatable, "payment"> & {
    payment: PaymentCreatable;
  }): Promise<Token | Order | Error | undefined>;
  TriggerListener(event: CustomEvent<Trigger>): void;
  render(): any[];
}
