import type { AccountVerificationResponse } from '../../types';
export type AccountVerificationErrorObject = {
    status: string;
    message: string;
    reason: string;
    trackingId: string;
    type: string;
};
export type AccountVerificationCallbackErrorObject<T extends string = string> = {
    error: T;
    message: string;
};
export type VerifiedAccounts = {
    accounts: AccountVerificationResponse[];
};
export declare class IFrameWidget {
    private readonly vendor;
    private readonly iframeUrl;
    private readonly iframeElement;
    private readonly iframeWindow;
    private listener;
    private mountInProgress;
    private sdkToken;
    private iframeUrlState;
    constructor(iframeElement: HTMLIFrameElement, url: string, vendor: string, sdkToken: string | undefined);
    removeMessageEventListener(): void;
    private handleMessage;
    unmount(): void;
    private mount;
    private waitForResponse;
    mountAndWaitForResponse(): Promise<VerifiedAccounts>;
}
