/** * Helper functions for receive operations. */ import type { EvmReadProvider } from "../../types/evm.js"; import type { ReadableVerifierContract, VerifierContractLike } from "./types.js"; /** * Type guard for readable verifier contracts (those with a `.read` namespace). */ export declare function isReadableVerifierContract(contract: VerifierContractLike): contract is ReadableVerifierContract; /** * Create a {@link ReadableVerifierContract} backed by an {@link EvmReadProvider}. * * This is the recommended way to build a verifier contract instance when using * the provider abstraction (i.e. without depending on viem's `getContract`). * * @param provider - EVM read provider. * @param address - Verifier contract address. */ export declare function createVerifierReader(provider: EvmReadProvider, address: string): ReadableVerifierContract; /** * Read `totalTeleported` from a verifier contract, supporting multiple contract shapes. * @param contract - Viem-style or legacy verifier contract instance. * @param recipientFr - Recipient field element (as hex string). * @throws If the contract does not expose a compatible `totalTeleported` method. */ export declare function readTotalTeleported(contract: VerifierContractLike, recipientFr: string): Promise; //# sourceMappingURL=helpers.d.ts.map