import { TypedDataDomain, TypedDataField } from 'ethers'; import { SiweMessage } from 'siwe'; import { DeviceData, RelayTransactionType, SponsoredTransaction, UserNonceType, WalletInfos, WebAuthnOwner } from '../wallet/types'; export declare const api: import("axios").AxiosInstance; export declare class API { constructor(apiKey: string, chainId: number); getNonce(account: string): Promise; getWalletAddress(ownerAddress: string): Promise; getWalletInfos(walletAddress: string): Promise; getSponsoredAddresses(): Promise; connectToAlembicWallet({ message, signature, walletAddress, userId }: { message: SiweMessage; signature: string; walletAddress: string; userId?: string; }): Promise; relayTransaction({ walletAddress, safeTxData, signatures }: RelayTransactionType): Promise; createWalletWithWebAuthn({ walletAddress, signerName, publicKeyId, publicKeyX, publicKeyY, deviceData, userId }: { walletAddress: string; signerName: string; publicKeyId: string; publicKeyX: string; publicKeyY: string; userId: string; deviceData: DeviceData; }): Promise; addWebAuthnOwner({ walletAddress, signerName, publicKeyId, publicKeyX, publicKeyY, addOwnerTxData, addOwnerTxSignature, deviceData, userId }: { walletAddress: string; signerName: string; publicKeyId: string; publicKeyX: string; publicKeyY: string; addOwnerTxData: any; addOwnerTxSignature: string; deviceData: DeviceData; userId?: string; }): Promise; getWebAuthnOwnerByPublicKeyId(publicKeyId: string): Promise; getWebAuthnOwners(walletAddress: string): Promise; getWebAuthnOwnersByUserId(userId: string): Promise; connectToAlembicAuth(token: string): Promise; signTypedDataWithAlembicAuth(token: string, domain: TypedDataDomain, types: Record, value: Record): Promise; }