export interface IdAttestationRecord { type: 'eas' | 'asn'; identifierType: 'email'; identifier: string; identifierSecret: string; attestation: string; expiry: number; } export interface StoredIdAttestations { [typeAndId: string]: IdAttestationRecord; } export declare class AttestationIdClient { private attestationOrigin?; private showIframeCallback?; private redirectUrl?; private attestationInTab; private attestationTabHandler; private buttonOverlay; private tryingToGetAttestationInBackground; private iframe; private iframeWrap; private wrapperBase; private interval; private rejectHandler; private attestations; constructor(attestationOrigin?: string, showIframeCallback?: () => void, redirectUrl?: false | string); private getExistingAttestation; private saveAttestation; openAttestationApp(): void; captureAttestationIdCallback(urlParams: URLSearchParams): boolean; private getAttestationDetails; getIdentifierAttestation(email: string, wallet?: string, walletAddress?: string, currentActionParams?: { [key: string]: any; }): Promise; private createIframe; postMessageAttestationListener(event: MessageEvent, resolve: (res: IdAttestationRecord) => void, reject: Function, email: string, wallet?: string, address?: string): Promise; }