import { Signer } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { SwapProxy, SwapProxyInterface } from "../SwapProxy";
export declare class SwapProxy__factory {
    static readonly abi: readonly [{
        readonly type: "constructor";
        readonly inputs: readonly [{
            readonly name: "_permit2";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "isValidSignature";
        readonly inputs: readonly [{
            readonly name: "";
            readonly type: "bytes32";
            readonly internalType: "bytes32";
        }, {
            readonly name: "";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }];
        readonly outputs: readonly [{
            readonly name: "magicBytes";
            readonly type: "bytes4";
            readonly internalType: "bytes4";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "performSwap";
        readonly inputs: readonly [{
            readonly name: "inputToken";
            readonly type: "address";
            readonly internalType: "address";
        }, {
            readonly name: "outputToken";
            readonly type: "address";
            readonly internalType: "address";
        }, {
            readonly name: "inputAmount";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }, {
            readonly name: "exchange";
            readonly type: "address";
            readonly internalType: "address";
        }, {
            readonly name: "transferType";
            readonly type: "uint8";
            readonly internalType: "enum SpokePoolPeripheryInterface.TransferType";
        }, {
            readonly name: "routerCalldata";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }];
        readonly outputs: readonly [{
            readonly name: "outputAmount";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "permit2";
        readonly inputs: readonly [];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "address";
            readonly internalType: "contract IPermit2";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "error";
        readonly name: "InvalidExchange";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "SwapFailed";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "UnsupportedTransferType";
        readonly inputs: readonly [];
    }];
    static createInterface(): SwapProxyInterface;
    static connect(address: string, signerOrProvider: Signer | Provider): SwapProxy;
}
//# sourceMappingURL=SwapProxy__factory.d.ts.map