import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 SpokePoolPeripheryInterface {
    type FeesStruct = {
        amount: BigNumberish;
        recipient: string;
    };
    type FeesStructOutput = [BigNumber, string] & {
        amount: BigNumber;
        recipient: string;
    };
    type BaseDepositDataStruct = {
        inputToken: string;
        outputToken: BytesLike;
        outputAmount: BigNumberish;
        depositor: string;
        recipient: BytesLike;
        destinationChainId: BigNumberish;
        exclusiveRelayer: BytesLike;
        quoteTimestamp: BigNumberish;
        fillDeadline: BigNumberish;
        exclusivityParameter: BigNumberish;
        message: BytesLike;
    };
    type BaseDepositDataStructOutput = [
        string,
        string,
        BigNumber,
        string,
        string,
        BigNumber,
        string,
        number,
        number,
        number,
        string
    ] & {
        inputToken: string;
        outputToken: string;
        outputAmount: BigNumber;
        depositor: string;
        recipient: string;
        destinationChainId: BigNumber;
        exclusiveRelayer: string;
        quoteTimestamp: number;
        fillDeadline: number;
        exclusivityParameter: number;
        message: string;
    };
    type DepositDataStruct = {
        submissionFees: SpokePoolPeripheryInterface.FeesStruct;
        baseDepositData: SpokePoolPeripheryInterface.BaseDepositDataStruct;
        inputAmount: BigNumberish;
        spokePool: string;
        nonce: BigNumberish;
    };
    type DepositDataStructOutput = [
        SpokePoolPeripheryInterface.FeesStructOutput,
        SpokePoolPeripheryInterface.BaseDepositDataStructOutput,
        BigNumber,
        string,
        BigNumber
    ] & {
        submissionFees: SpokePoolPeripheryInterface.FeesStructOutput;
        baseDepositData: SpokePoolPeripheryInterface.BaseDepositDataStructOutput;
        inputAmount: BigNumber;
        spokePool: string;
        nonce: BigNumber;
    };
    type SwapAndDepositDataStruct = {
        submissionFees: SpokePoolPeripheryInterface.FeesStruct;
        depositData: SpokePoolPeripheryInterface.BaseDepositDataStruct;
        swapToken: string;
        exchange: string;
        transferType: BigNumberish;
        swapTokenAmount: BigNumberish;
        minExpectedInputTokenAmount: BigNumberish;
        routerCalldata: BytesLike;
        enableProportionalAdjustment: boolean;
        spokePool: string;
        nonce: BigNumberish;
    };
    type SwapAndDepositDataStructOutput = [
        SpokePoolPeripheryInterface.FeesStructOutput,
        SpokePoolPeripheryInterface.BaseDepositDataStructOutput,
        string,
        string,
        number,
        BigNumber,
        BigNumber,
        string,
        boolean,
        string,
        BigNumber
    ] & {
        submissionFees: SpokePoolPeripheryInterface.FeesStructOutput;
        depositData: SpokePoolPeripheryInterface.BaseDepositDataStructOutput;
        swapToken: string;
        exchange: string;
        transferType: number;
        swapTokenAmount: BigNumber;
        minExpectedInputTokenAmount: BigNumber;
        routerCalldata: string;
        enableProportionalAdjustment: boolean;
        spokePool: string;
        nonce: BigNumber;
    };
}
export declare namespace IPermit2 {
    type TokenPermissionsStruct = {
        token: string;
        amount: BigNumberish;
    };
    type TokenPermissionsStructOutput = [string, BigNumber] & {
        token: string;
        amount: BigNumber;
    };
    type PermitTransferFromStruct = {
        permitted: IPermit2.TokenPermissionsStruct;
        nonce: BigNumberish;
        deadline: BigNumberish;
    };
    type PermitTransferFromStructOutput = [
        IPermit2.TokenPermissionsStructOutput,
        BigNumber,
        BigNumber
    ] & {
        permitted: IPermit2.TokenPermissionsStructOutput;
        nonce: BigNumber;
        deadline: BigNumber;
    };
}
export interface SpokePoolPeripheryInterfaceInterface extends utils.Interface {
    functions: {
        "depositNative(address,address,bytes32,address,uint256,bytes32,uint256,uint256,bytes32,uint32,uint32,uint32,bytes)": FunctionFragment;
        "depositWithAuthorization(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),uint256,address,uint256),uint256,uint256,bytes)": FunctionFragment;
        "depositWithPermit(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),uint256,address,uint256),uint256,bytes,bytes)": FunctionFragment;
        "depositWithPermit2(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),uint256,address,uint256),((address,uint256),uint256,uint256),bytes)": FunctionFragment;
        "permitNonces(address)": FunctionFragment;
        "swapAndBridge(((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),address,address,uint8,uint256,uint256,bytes,bool,address,uint256))": FunctionFragment;
        "swapAndBridgeWithAuthorization(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),address,address,uint8,uint256,uint256,bytes,bool,address,uint256),uint256,uint256,bytes)": FunctionFragment;
        "swapAndBridgeWithPermit(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),address,address,uint8,uint256,uint256,bytes,bool,address,uint256),uint256,bytes,bytes)": FunctionFragment;
        "swapAndBridgeWithPermit2(address,((uint256,address),(address,bytes32,uint256,address,bytes32,uint256,bytes32,uint32,uint32,uint32,bytes),address,address,uint8,uint256,uint256,bytes,bool,address,uint256),((address,uint256),uint256,uint256),bytes)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "depositNative" | "depositWithAuthorization" | "depositWithPermit" | "depositWithPermit2" | "permitNonces" | "swapAndBridge" | "swapAndBridgeWithAuthorization" | "swapAndBridgeWithPermit" | "swapAndBridgeWithPermit2"): FunctionFragment;
    encodeFunctionData(functionFragment: "depositNative", values: [
        string,
        string,
        BytesLike,
        string,
        BigNumberish,
        BytesLike,
        BigNumberish,
        BigNumberish,
        BytesLike,
        BigNumberish,
        BigNumberish,
        BigNumberish,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "depositWithAuthorization", values: [
        string,
        SpokePoolPeripheryInterface.DepositDataStruct,
        BigNumberish,
        BigNumberish,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "depositWithPermit", values: [
        string,
        SpokePoolPeripheryInterface.DepositDataStruct,
        BigNumberish,
        BytesLike,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "depositWithPermit2", values: [
        string,
        SpokePoolPeripheryInterface.DepositDataStruct,
        IPermit2.PermitTransferFromStruct,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "permitNonces", values: [string]): string;
    encodeFunctionData(functionFragment: "swapAndBridge", values: [SpokePoolPeripheryInterface.SwapAndDepositDataStruct]): string;
    encodeFunctionData(functionFragment: "swapAndBridgeWithAuthorization", values: [
        string,
        SpokePoolPeripheryInterface.SwapAndDepositDataStruct,
        BigNumberish,
        BigNumberish,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "swapAndBridgeWithPermit", values: [
        string,
        SpokePoolPeripheryInterface.SwapAndDepositDataStruct,
        BigNumberish,
        BytesLike,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "swapAndBridgeWithPermit2", values: [
        string,
        SpokePoolPeripheryInterface.SwapAndDepositDataStruct,
        IPermit2.PermitTransferFromStruct,
        BytesLike
    ]): string;
    decodeFunctionResult(functionFragment: "depositNative", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositWithAuthorization", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositWithPermit", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositWithPermit2", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "permitNonces", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "swapAndBridge", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "swapAndBridgeWithAuthorization", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "swapAndBridgeWithPermit", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "swapAndBridgeWithPermit2", data: BytesLike): Result;
    events: {};
}
export interface SpokePoolPeripheryInterface extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: SpokePoolPeripheryInterfaceInterface;
    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: {
        depositNative(spokePool: string, depositor: string, recipient: BytesLike, inputToken: string, inputAmount: BigNumberish, outputToken: BytesLike, outputAmount: BigNumberish, destinationChainId: BigNumberish, exclusiveRelayer: BytesLike, quoteTimestamp: BigNumberish, fillDeadline: BigNumberish, exclusivityParameter: BigNumberish, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        depositWithAuthorization(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        depositWithPermit(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, depositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        depositWithPermit2(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        permitNonces(user: string, overrides?: CallOverrides): Promise<[BigNumber]>;
        swapAndBridge(swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        swapAndBridgeWithAuthorization(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        swapAndBridgeWithPermit(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, swapAndDepositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        swapAndBridgeWithPermit2(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
    };
    depositNative(spokePool: string, depositor: string, recipient: BytesLike, inputToken: string, inputAmount: BigNumberish, outputToken: BytesLike, outputAmount: BigNumberish, destinationChainId: BigNumberish, exclusiveRelayer: BytesLike, quoteTimestamp: BigNumberish, fillDeadline: BigNumberish, exclusivityParameter: BigNumberish, message: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    depositWithAuthorization(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    depositWithPermit(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, depositDataSignature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    depositWithPermit2(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    permitNonces(user: string, overrides?: CallOverrides): Promise<BigNumber>;
    swapAndBridge(swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    swapAndBridgeWithAuthorization(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    swapAndBridgeWithPermit(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, swapAndDepositDataSignature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    swapAndBridgeWithPermit2(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    callStatic: {
        depositNative(spokePool: string, depositor: string, recipient: BytesLike, inputToken: string, inputAmount: BigNumberish, outputToken: BytesLike, outputAmount: BigNumberish, destinationChainId: BigNumberish, exclusiveRelayer: BytesLike, quoteTimestamp: BigNumberish, fillDeadline: BigNumberish, exclusivityParameter: BigNumberish, message: BytesLike, overrides?: CallOverrides): Promise<void>;
        depositWithAuthorization(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: CallOverrides): Promise<void>;
        depositWithPermit(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, depositDataSignature: BytesLike, overrides?: CallOverrides): Promise<void>;
        depositWithPermit2(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: CallOverrides): Promise<void>;
        permitNonces(user: string, overrides?: CallOverrides): Promise<BigNumber>;
        swapAndBridge(swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, overrides?: CallOverrides): Promise<void>;
        swapAndBridgeWithAuthorization(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: CallOverrides): Promise<void>;
        swapAndBridgeWithPermit(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, swapAndDepositDataSignature: BytesLike, overrides?: CallOverrides): Promise<void>;
        swapAndBridgeWithPermit2(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: CallOverrides): Promise<void>;
    };
    filters: {};
    estimateGas: {
        depositNative(spokePool: string, depositor: string, recipient: BytesLike, inputToken: string, inputAmount: BigNumberish, outputToken: BytesLike, outputAmount: BigNumberish, destinationChainId: BigNumberish, exclusiveRelayer: BytesLike, quoteTimestamp: BigNumberish, fillDeadline: BigNumberish, exclusivityParameter: BigNumberish, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        depositWithAuthorization(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        depositWithPermit(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, depositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        depositWithPermit2(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        permitNonces(user: string, overrides?: CallOverrides): Promise<BigNumber>;
        swapAndBridge(swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        swapAndBridgeWithAuthorization(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        swapAndBridgeWithPermit(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, swapAndDepositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        swapAndBridgeWithPermit2(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        depositNative(spokePool: string, depositor: string, recipient: BytesLike, inputToken: string, inputAmount: BigNumberish, outputToken: BytesLike, outputAmount: BigNumberish, destinationChainId: BigNumberish, exclusiveRelayer: BytesLike, quoteTimestamp: BigNumberish, fillDeadline: BigNumberish, exclusivityParameter: BigNumberish, message: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        depositWithAuthorization(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        depositWithPermit(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, depositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        depositWithPermit2(signatureOwner: string, depositData: SpokePoolPeripheryInterface.DepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        permitNonces(user: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        swapAndBridge(swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        swapAndBridgeWithAuthorization(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, validAfter: BigNumberish, validBefore: BigNumberish, receiveWithAuthSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        swapAndBridgeWithPermit(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, deadline: BigNumberish, permitSignature: BytesLike, swapAndDepositDataSignature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        swapAndBridgeWithPermit2(signatureOwner: string, swapAndDepositData: SpokePoolPeripheryInterface.SwapAndDepositDataStruct, permit: IPermit2.PermitTransferFromStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
    };
}
