import type { HardhatViemHelpers } from "@nomicfoundation/hardhat-viem/types"; import type { ChainType } from "hardhat/types/network"; import { HardhatViemAssertionsImpl } from "./viem-assertions.js"; export async function initializeViemAssertions< ChainTypeT extends ChainType | string = "generic", >( viem: HardhatViemHelpers, ): Promise> { return new HardhatViemAssertionsImpl(viem); }