import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers"; import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common"; export interface StringUtilTestInterface extends Interface { getFunction(nameOrSignature: "toHex" | "toHexBytes" | "toHexNaive" | "toHexNaiveBytes"): FunctionFragment; encodeFunctionData(functionFragment: "toHex", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "toHexBytes", values: [BytesLike]): string; encodeFunctionData(functionFragment: "toHexNaive", values: [BigNumberish]): string; encodeFunctionData(functionFragment: "toHexNaiveBytes", values: [BytesLike]): string; decodeFunctionResult(functionFragment: "toHex", data: BytesLike): Result; decodeFunctionResult(functionFragment: "toHexBytes", data: BytesLike): Result; decodeFunctionResult(functionFragment: "toHexNaive", data: BytesLike): Result; decodeFunctionResult(functionFragment: "toHexNaiveBytes", data: BytesLike): Result; } export interface StringUtilTest extends BaseContract { connect(runner?: ContractRunner | null): StringUtilTest; waitForDeployment(): Promise; interface: StringUtilTestInterface; queryFilter(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; queryFilter(filter: TypedDeferredTopicFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>>; on(event: TCEvent, listener: TypedListener): Promise; on(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; once(event: TCEvent, listener: TypedListener): Promise; once(filter: TypedDeferredTopicFilter, listener: TypedListener): Promise; listeners(event: TCEvent): Promise>>; listeners(eventName?: string): Promise>; removeAllListeners(event?: TCEvent): Promise; toHex: TypedContractMethod<[value: BigNumberish], [string], "view">; toHexBytes: TypedContractMethod<[data: BytesLike], [string], "view">; toHexNaive: TypedContractMethod<[value: BigNumberish], [string], "view">; toHexNaiveBytes: TypedContractMethod<[data: BytesLike], [string], "view">; getFunction(key: string | FunctionFragment): T; getFunction(nameOrSignature: "toHex"): TypedContractMethod<[value: BigNumberish], [string], "view">; getFunction(nameOrSignature: "toHexBytes"): TypedContractMethod<[data: BytesLike], [string], "view">; getFunction(nameOrSignature: "toHexNaive"): TypedContractMethod<[value: BigNumberish], [string], "view">; getFunction(nameOrSignature: "toHexNaiveBytes"): TypedContractMethod<[data: BytesLike], [string], "view">; filters: {}; }