import { KeyStore } from '@tokenscript/attestation/dist/safe-connect/KeyStore'; export interface ChallengeInterface { expiry: number; messageToSign: string; address: string; signature?: string; } export interface ProofRequestInterface { type: string; subject: string; signature: string; address: string; data?: any; } export interface ProofResponseInterface { type: string; expiry: number; data?: any; } export declare class SafeConnect { static keyStore: KeyStore; static getLinkPrivateKey(): Promise; static getLinkPublicKey(): Promise; static getChallenge(safeConnectUrl: string, address: string): Promise; static getAttestation(safeConnectUrl: string, serverPayload: ProofRequestInterface): Promise; private static apiRequest; static createAndSignLinkAttestation(addressAttest: string, linkedEthAddress: string, holdingPrivKey: CryptoKey): Promise; }