import { Error } from "gracely";
import { Currency } from "isoly";
import * as langly from "langly";
import { User } from "@payfunc/model";
import { Merchant } from "@payfunc/model-acquirer";
import { Log } from "@payfunc/model-log";
import { Client } from "@payfunc/merchant-client";
import { AcquirerSettlement, ModelState } from "./model";
export declare class IntergiroMonitor {
  element: HTMLElement;
  t: langly.Translate;
  server: string;
  merchants?: Merchant[];
  filteredMerchants?: Merchant[];
  authorizations?: (ModelState.Authorization | ModelState.FailedAuthorization)[];
  filteredAuthorizations?: (ModelState.Authorization | ModelState.FailedAuthorization)[];
  logs?: Promise<Log[] | Error | string>;
  settlements?: AcquirerSettlement[];
  active?: {
    id: string;
    audience: "agent" | "private";
    name: string;
    developer: boolean;
    type?: "demo" | "live" | "test";
  };
  filteredSettlements?: AcquirerSettlement[];
  conversion?: Record<Currency, Partial<Record<Currency, number>>>;
  static client?: Pick<Client, "authorization" | "log" | "me" | "merchant" | "settlement">;
  componentWillLoad(): Promise<void>;
  handleOnUserChanged(e?: CustomEvent<{
    user: User;
  }>): Promise<void>;
  loadData(): void;
  handleTrigger(event: CustomEvent<{
    name: string;
  }>): void;
  handleMenuClose(event: CustomEvent<{
    name: string;
    value: string;
  }[]>): void;
  render(): any;
}
