import { EVMAccountAddress, EVMContractAddress, BlockchainCommonErrors, OperatorGatewayContractError, P256PublicKeyComponents, P256SignatureComponents, LayerZeroEndpointId, OperatorDomain, TokenAmount, WebauthnCredentialId, AuthenticatorData, ClientDataJSONComponents, InvalidParametersError } from "@snickerdoodlelabs/objects"; import { ethers } from "ethers"; import { ResultAsync } from "neverthrow"; import { IEthersContractError } from "../implementations/BlockchainErrorMapper.js"; import { ERC7529Contract } from "../implementations/ERC7529Contract.js"; import { ContractOverrides, WrappedTransactionResponse, IOperatorGatewayContract, EOperatorGatewayRoles } from "../interfaces/index.js"; export declare class OperatorGatewayContract extends ERC7529Contract implements IOperatorGatewayContract { protected providerOrSigner: ethers.Provider | ethers.Signer; protected contractAddress: EVMContractAddress; constructor(providerOrSigner: ethers.Provider | ethers.Signer, contractAddress: EVMContractAddress); deployWallets(usernames: string[], keyIds: WebauthnCredentialId[][], p256Keys: P256PublicKeyComponents[][], evmAccounts: EVMContractAddress[][] | EVMAccountAddress[][], overrides?: ContractOverrides): ResultAsync; authorizeWalletsOnDestinationChain(destinationLayerZeroEndpointId: LayerZeroEndpointId, usernames: string[], gas: bigint, nativeTokenFee: bigint, // Required fee calculated from the quote function to be sent with the transaction to pay for the LayerZero _lzReceive() call overrides?: ContractOverrides): ResultAsync; authorizeOperatorGatewayOnDestinationChain(destinationLayerZeroEndpointId: LayerZeroEndpointId, gas: bigint, nativeTokenFee: bigint, // Required fee calculated from the quote function to be sent with the transaction to pay for the LayerZero _lzReceive() call overrides?: ContractOverrides): ResultAsync; quoteAuthorizeWalletOnDestinationChain(destinationLayerZeroEndpointId: LayerZeroEndpointId, username: string, gas: bigint): ResultAsync; quoteAuthorizeOperatorGatewayOnDestinationChain(destinationLayerZeroEndpointId: LayerZeroEndpointId, domain: OperatorDomain, gas: bigint): ResultAsync; addP256KeysWithP256Keys(evmAccounts: EVMContractAddress[] | EVMAccountAddress[], keyIds: WebauthnCredentialId[], authenticatorDatas: AuthenticatorData[], clientJSONDatas: ClientDataJSONComponents[], newP256KeyIds: WebauthnCredentialId[], newP256Keys: P256PublicKeyComponents[], p256Signatures: P256SignatureComponents[], overrides?: ContractOverrides): ResultAsync; grantRole(role: EOperatorGatewayRoles, address: EVMAccountAddress, overrides?: ContractOverrides): ResultAsync; revokeRole(role: EOperatorGatewayRoles, address: EVMAccountAddress, overrides?: ContractOverrides): ResultAsync; renounceRole(role: EOperatorGatewayRoles, address: EVMAccountAddress, overrides?: ContractOverrides): ResultAsync; hasRole(role: EOperatorGatewayRoles, address: EVMAccountAddress): ResultAsync; computeWalletAddresses(userNames: string[]): ResultAsync; factoryAddress(): ResultAsync; domainName(): ResultAsync; protected generateContractSpecificError(msg: string, e: IEthersContractError, transaction: ethers.Transaction | null): OperatorGatewayContractError; } //# sourceMappingURL=OperatorGatewayContract.d.ts.map