import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers"; import type { FunctionFragment, Result } from "@ethersproject/abi"; import type { Listener, Provider } from "@ethersproject/providers"; import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common"; export declare namespace ISwapRouter { type ExactInputSingleParamsStruct = { tokenIn: string; tokenOut: string; fee: BigNumberish; recipient: string; deadline: BigNumberish; amountIn: BigNumberish; amountOutMinimum: BigNumberish; sqrtPriceLimitX96: BigNumberish; }; type ExactInputSingleParamsStructOutput = [string, string, number, string, BigNumber, BigNumber, BigNumber, BigNumber] & { tokenIn: string; tokenOut: string; fee: number; recipient: string; deadline: BigNumber; amountIn: BigNumber; amountOutMinimum: BigNumber; sqrtPriceLimitX96: BigNumber; }; } export interface ISwapRouterInterface extends utils.Interface { functions: { "exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160))": FunctionFragment; }; getFunction(nameOrSignatureOrTopic: "exactInputSingle"): FunctionFragment; encodeFunctionData(functionFragment: "exactInputSingle", values: [ISwapRouter.ExactInputSingleParamsStruct]): string; decodeFunctionResult(functionFragment: "exactInputSingle", data: BytesLike): Result; events: {}; } export interface ISwapRouter extends BaseContract { connect(signerOrProvider: Signer | Provider | string): this; attach(addressOrName: string): this; deployed(): Promise; interface: ISwapRouterInterface; queryFilter(event: TypedEventFilter, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise>; listeners(eventFilter?: TypedEventFilter): Array>; listeners(eventName?: string): Array; removeAllListeners(eventFilter: TypedEventFilter): this; removeAllListeners(eventName?: string): this; off: OnEvent; on: OnEvent; once: OnEvent; removeListener: OnEvent; functions: { exactInputSingle(params: ISwapRouter.ExactInputSingleParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; exactInputSingle(params: ISwapRouter.ExactInputSingleParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; callStatic: { exactInputSingle(params: ISwapRouter.ExactInputSingleParamsStruct, overrides?: CallOverrides): Promise; }; filters: {}; estimateGas: { exactInputSingle(params: ISwapRouter.ExactInputSingleParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; populateTransaction: { exactInputSingle(params: ISwapRouter.ExactInputSingleParamsStruct, overrides?: PayableOverrides & { from?: string; }): Promise; }; }