import { EVMAccountAddress, BlockchainCommonErrors, FarcasterIdGatewayContractError, UnixTimestamp, FarcasterIDGatewayRegisterIdSignature } from "@snickerdoodlelabs/objects"; import { TypedDataField, ethers } from "ethers"; import { ResultAsync } from "neverthrow"; import { BaseContract } from "../../implementations/BaseContract.js"; import { IEthersContractError } from "../../implementations/BlockchainErrorMapper.js"; import { ContractOverrides, IFarcasterIdGatewayContract, WrappedTransactionResponse } from "../../interfaces/index.js"; export declare class FarcasterIdGatewayContract extends BaseContract implements IFarcasterIdGatewayContract { protected providerOrSigner: ethers.Provider | ethers.Signer; constructor(providerOrSigner: ethers.Provider | ethers.Signer); price(extraStorage?: bigint): ResultAsync; nonces(address: EVMAccountAddress): ResultAsync; register(recoveryAddress: EVMAccountAddress, overrides?: ContractOverrides): ResultAsync; registerWithExtraStorage(recoveryAddress: EVMAccountAddress, extraStorage: bigint, overrides?: ContractOverrides): ResultAsync; registerFor(ownerAddress: EVMAccountAddress, recoveryAddress: EVMAccountAddress, deadline: UnixTimestamp, signature: FarcasterIDGatewayRegisterIdSignature, // EIP-712 'Register' signature from fidOwner obtained from getRegisterSignature() overrides?: ContractOverrides): ResultAsync; registerForWithExtraStorage(ownerAddress: EVMAccountAddress, recoveryAddress: EVMAccountAddress, deadline: UnixTimestamp, signature: FarcasterIDGatewayRegisterIdSignature, // EIP-712 'Register' signature from fidOwner obtained from getRegisterSignature() extraStorage: bigint, overrides?: ContractOverrides): ResultAsync; getRegisterSignature(ownerAddress: EVMAccountAddress, recoveryAddress: EVMAccountAddress, nonce: bigint, deadline: UnixTimestamp): ResultAsync; protected removeReadonlyFromReadonlyTypes(obj: T): Record; protected generateContractSpecificError(msg: string, e: IEthersContractError, transaction: ethers.Transaction | null): FarcasterIdGatewayContractError; } //# sourceMappingURL=FarcasterIdGatewayContract.d.ts.map