// This file was autogenerated by hardhat-viem, do not edit it.
// prettier-ignore
// tslint:disable
// eslint-disable

import type { Address } from "viem";
import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types";
import "@nomicfoundation/hardhat-viem/types";

export interface MathLib$Type {
  "_format": "hh-sol-artifact-1",
  "contractName": "MathLib",
  "sourceName": "contracts/lib/Math.sol",
  "abi": [
    {
      "inputs": [],
      "name": "MathOverflowedMulDiv",
      "type": "error"
    }
  ],
  "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122015629897ef233e2fd6b90dcb55b3450e0097c5e3d60fcf21fb64f00c162021e064736f6c63430008140033",
  "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122015629897ef233e2fd6b90dcb55b3450e0097c5e3d60fcf21fb64f00c162021e064736f6c63430008140033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}

declare module "@nomicfoundation/hardhat-viem/types" {
  export function deployContract(
    contractName: "MathLib",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<MathLib$Type["abi"]>>;
  export function deployContract(
    contractName: "contracts/lib/Math.sol:MathLib",
    constructorArgs?: [],
    config?: DeployContractConfig
  ): Promise<GetContractReturnType<MathLib$Type["abi"]>>;

  export function sendDeploymentTransaction(
    contractName: "MathLib",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<MathLib$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;
  export function sendDeploymentTransaction(
    contractName: "contracts/lib/Math.sol:MathLib",
    constructorArgs?: [],
    config?: SendDeploymentTransactionConfig
  ): Promise<{
    contract: GetContractReturnType<MathLib$Type["abi"]>;
    deploymentTransaction: GetTransactionReturnType;
  }>;

  export function getContractAt(
    contractName: "MathLib",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<MathLib$Type["abi"]>>;
  export function getContractAt(
    contractName: "contracts/lib/Math.sol:MathLib",
    address: Address,
    config?: GetContractAtConfig
  ): Promise<GetContractReturnType<MathLib$Type["abi"]>>;
}
