import * as GeneratedClients from '@imtbl/generated-clients'; import { ConfirmationResult } from './types'; import { IAuthConfiguration } from '@imtbl/auth'; export declare const CONFIRMATION_IFRAME_ID = "passport-confirm"; export declare const CONFIRMATION_IFRAME_STYLE = "display: none; position: absolute;width:0px;height:0px;border:0;"; type MessageHandler = (arg0: MessageEvent) => void; type MessageType = 'erc191' | 'eip712'; export default class ConfirmationScreen { private config; private confirmationWindow; private popupOptions; private overlay; private overlayClosed; private timer; constructor(config: IAuthConfiguration); private getHref; requestConfirmation(transactionId: string, etherAddress: string, chainType: GeneratedClients.mr.TransactionApprovalRequestChainTypeEnum, chainId?: string): Promise; requestMessageConfirmation(messageID: string, etherAddress: string, messageType?: MessageType): Promise; showServiceUnavailable(): Promise; loading(popupOptions?: { width: number; height: number; }): void; closeWindow(): void; showConfirmationScreen(href: string, messageHandler: MessageHandler, resolve: Function): void; private recreateConfirmationWindow; } export {};