import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 interface SwapProxyInterface extends utils.Interface {
    functions: {
        "isValidSignature(bytes32,bytes)": FunctionFragment;
        "performSwap(address,address,uint256,address,uint8,bytes)": FunctionFragment;
        "permit2()": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "isValidSignature" | "performSwap" | "permit2"): FunctionFragment;
    encodeFunctionData(functionFragment: "isValidSignature", values: [BytesLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "performSwap", values: [string, string, BigNumberish, string, BigNumberish, BytesLike]): string;
    encodeFunctionData(functionFragment: "permit2", values?: undefined): string;
    decodeFunctionResult(functionFragment: "isValidSignature", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "performSwap", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "permit2", data: BytesLike): Result;
    events: {};
}
export interface SwapProxy extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: SwapProxyInterface;
    queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
    listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
    listeners(eventName?: string): Array<Listener>;
    removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
    removeAllListeners(eventName?: string): this;
    off: OnEvent<this>;
    on: OnEvent<this>;
    once: OnEvent<this>;
    removeListener: OnEvent<this>;
    functions: {
        isValidSignature(arg0: BytesLike, arg1: BytesLike, overrides?: CallOverrides): Promise<[string] & {
            magicBytes: string;
        }>;
        performSwap(inputToken: string, outputToken: string, inputAmount: BigNumberish, exchange: string, transferType: BigNumberish, routerCalldata: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        permit2(overrides?: CallOverrides): Promise<[string]>;
    };
    isValidSignature(arg0: BytesLike, arg1: BytesLike, overrides?: CallOverrides): Promise<string>;
    performSwap(inputToken: string, outputToken: string, inputAmount: BigNumberish, exchange: string, transferType: BigNumberish, routerCalldata: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    permit2(overrides?: CallOverrides): Promise<string>;
    callStatic: {
        isValidSignature(arg0: BytesLike, arg1: BytesLike, overrides?: CallOverrides): Promise<string>;
        performSwap(inputToken: string, outputToken: string, inputAmount: BigNumberish, exchange: string, transferType: BigNumberish, routerCalldata: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        permit2(overrides?: CallOverrides): Promise<string>;
    };
    filters: {};
    estimateGas: {
        isValidSignature(arg0: BytesLike, arg1: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        performSwap(inputToken: string, outputToken: string, inputAmount: BigNumberish, exchange: string, transferType: BigNumberish, routerCalldata: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        permit2(overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        isValidSignature(arg0: BytesLike, arg1: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        performSwap(inputToken: string, outputToken: string, inputAmount: BigNumberish, exchange: string, transferType: BigNumberish, routerCalldata: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        permit2(overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
