import { Signer, ContractFactory, BigNumberish, Overrides } from "ethers";
import type { Provider, TransactionRequest } from "@ethersproject/providers";
import type { AcrossOriginSettler, AcrossOriginSettlerInterface } from "../AcrossOriginSettler";
type AcrossOriginSettlerConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
export declare class AcrossOriginSettler__factory extends ContractFactory {
    constructor(...args: AcrossOriginSettlerConstructorParams);
    deploy(_spokePool: string, _permit2: string, _quoteBeforeDeadline: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): Promise<AcrossOriginSettler>;
    getDeployTransaction(_spokePool: string, _permit2: string, _quoteBeforeDeadline: BigNumberish, overrides?: Overrides & {
        from?: string;
    }): TransactionRequest;
    attach(address: string): AcrossOriginSettler;
    connect(signer: Signer): AcrossOriginSettler__factory;
    static readonly bytecode = " ";
    static readonly abi: readonly [{
        readonly type: "constructor";
        readonly inputs: readonly [{
            readonly name: "_spokePool";
            readonly type: "address";
            readonly internalType: "contract SpokePool";
        }, {
            readonly name: "_permit2";
            readonly type: "address";
            readonly internalType: "contract IPermit2";
        }, {
            readonly name: "_quoteBeforeDeadline";
            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: "function";
        readonly name: "QUOTE_BEFORE_DEADLINE";
        readonly inputs: readonly [];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "SPOKE_POOL";
        readonly inputs: readonly [];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "address";
            readonly internalType: "contract SpokePool";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "computeDepositId";
        readonly inputs: readonly [{
            readonly name: "depositNonce";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }, {
            readonly name: "depositor";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "decode";
        readonly inputs: readonly [{
            readonly name: "orderData";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }, {
            readonly name: "fillerData";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "tuple";
            readonly internalType: "struct AcrossOrderData";
            readonly components: readonly [{
                readonly name: "inputToken";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "inputAmount";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "outputToken";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "outputAmount";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "destinationChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "recipient";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "exclusiveRelayer";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "depositNonce";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "exclusivityPeriod";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "message";
                readonly type: "bytes";
                readonly internalType: "bytes";
            }];
        }, {
            readonly name: "";
            readonly type: "tuple";
            readonly internalType: "struct AcrossOriginFillerData";
            readonly components: readonly [{
                readonly name: "exclusiveRelayer";
                readonly type: "address";
                readonly internalType: "address";
            }];
        }];
        readonly stateMutability: "pure";
    }, {
        readonly type: "function";
        readonly name: "destinationSettlers";
        readonly inputs: readonly [{
            readonly name: "";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "getCurrentTime";
        readonly inputs: readonly [];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "uint32";
            readonly internalType: "uint32";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "multicall";
        readonly inputs: readonly [{
            readonly name: "data";
            readonly type: "bytes[]";
            readonly internalType: "bytes[]";
        }];
        readonly outputs: readonly [{
            readonly name: "results";
            readonly type: "bytes[]";
            readonly internalType: "bytes[]";
        }];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "open";
        readonly inputs: readonly [{
            readonly name: "order";
            readonly type: "tuple";
            readonly internalType: "struct OnchainCrossChainOrder";
            readonly components: readonly [{
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderDataType";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "orderData";
                readonly type: "bytes";
                readonly internalType: "bytes";
            }];
        }];
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "openFor";
        readonly inputs: readonly [{
            readonly name: "order";
            readonly type: "tuple";
            readonly internalType: "struct GaslessCrossChainOrder";
            readonly components: readonly [{
                readonly name: "originSettler";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "user";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "nonce";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "originChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "openDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderDataType";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "orderData";
                readonly type: "bytes";
                readonly internalType: "bytes";
            }];
        }, {
            readonly name: "signature";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }, {
            readonly name: "originFillerData";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }];
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "owner";
        readonly inputs: readonly [];
        readonly outputs: readonly [{
            readonly name: "";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "renounceOwnership";
        readonly inputs: readonly [];
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "resolve";
        readonly inputs: readonly [{
            readonly name: "order";
            readonly type: "tuple";
            readonly internalType: "struct OnchainCrossChainOrder";
            readonly components: readonly [{
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderDataType";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "orderData";
                readonly type: "bytes";
                readonly internalType: "bytes";
            }];
        }];
        readonly outputs: readonly [{
            readonly name: "resolvedOrder";
            readonly type: "tuple";
            readonly internalType: "struct ResolvedCrossChainOrder";
            readonly components: readonly [{
                readonly name: "user";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "originChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "openDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderId";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "maxSpent";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "minReceived";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "fillInstructions";
                readonly type: "tuple[]";
                readonly internalType: "struct FillInstruction[]";
                readonly components: readonly [{
                    readonly name: "destinationChainId";
                    readonly type: "uint64";
                    readonly internalType: "uint64";
                }, {
                    readonly name: "destinationSettler";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "originData";
                    readonly type: "bytes";
                    readonly internalType: "bytes";
                }];
            }];
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "resolveFor";
        readonly inputs: readonly [{
            readonly name: "order";
            readonly type: "tuple";
            readonly internalType: "struct GaslessCrossChainOrder";
            readonly components: readonly [{
                readonly name: "originSettler";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "user";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "nonce";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "originChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "openDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderDataType";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "orderData";
                readonly type: "bytes";
                readonly internalType: "bytes";
            }];
        }, {
            readonly name: "originFillerData";
            readonly type: "bytes";
            readonly internalType: "bytes";
        }];
        readonly outputs: readonly [{
            readonly name: "resolvedOrder";
            readonly type: "tuple";
            readonly internalType: "struct ResolvedCrossChainOrder";
            readonly components: readonly [{
                readonly name: "user";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "originChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "openDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderId";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "maxSpent";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "minReceived";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "fillInstructions";
                readonly type: "tuple[]";
                readonly internalType: "struct FillInstruction[]";
                readonly components: readonly [{
                    readonly name: "destinationChainId";
                    readonly type: "uint64";
                    readonly internalType: "uint64";
                }, {
                    readonly name: "destinationSettler";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "originData";
                    readonly type: "bytes";
                    readonly internalType: "bytes";
                }];
            }];
        }];
        readonly stateMutability: "view";
    }, {
        readonly type: "function";
        readonly name: "setDestinationSettler";
        readonly inputs: readonly [{
            readonly name: "chainId";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }, {
            readonly name: "destinationSettler";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "function";
        readonly name: "transferOwnership";
        readonly inputs: readonly [{
            readonly name: "newOwner";
            readonly type: "address";
            readonly internalType: "address";
        }];
        readonly outputs: readonly [];
        readonly stateMutability: "nonpayable";
    }, {
        readonly type: "event";
        readonly name: "Open";
        readonly inputs: readonly [{
            readonly name: "orderId";
            readonly type: "bytes32";
            readonly indexed: true;
            readonly internalType: "bytes32";
        }, {
            readonly name: "resolvedOrder";
            readonly type: "tuple";
            readonly indexed: false;
            readonly internalType: "struct ResolvedCrossChainOrder";
            readonly components: readonly [{
                readonly name: "user";
                readonly type: "address";
                readonly internalType: "address";
            }, {
                readonly name: "originChainId";
                readonly type: "uint256";
                readonly internalType: "uint256";
            }, {
                readonly name: "openDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "fillDeadline";
                readonly type: "uint32";
                readonly internalType: "uint32";
            }, {
                readonly name: "orderId";
                readonly type: "bytes32";
                readonly internalType: "bytes32";
            }, {
                readonly name: "maxSpent";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "minReceived";
                readonly type: "tuple[]";
                readonly internalType: "struct Output[]";
                readonly components: readonly [{
                    readonly name: "token";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "amount";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }, {
                    readonly name: "recipient";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "chainId";
                    readonly type: "uint256";
                    readonly internalType: "uint256";
                }];
            }, {
                readonly name: "fillInstructions";
                readonly type: "tuple[]";
                readonly internalType: "struct FillInstruction[]";
                readonly components: readonly [{
                    readonly name: "destinationChainId";
                    readonly type: "uint64";
                    readonly internalType: "uint64";
                }, {
                    readonly name: "destinationSettler";
                    readonly type: "bytes32";
                    readonly internalType: "bytes32";
                }, {
                    readonly name: "originData";
                    readonly type: "bytes";
                    readonly internalType: "bytes";
                }];
            }];
        }];
        readonly anonymous: false;
    }, {
        readonly type: "event";
        readonly name: "OwnershipTransferred";
        readonly inputs: readonly [{
            readonly name: "previousOwner";
            readonly type: "address";
            readonly indexed: true;
            readonly internalType: "address";
        }, {
            readonly name: "newOwner";
            readonly type: "address";
            readonly indexed: true;
            readonly internalType: "address";
        }];
        readonly anonymous: false;
    }, {
        readonly type: "event";
        readonly name: "SetDestinationSettler";
        readonly inputs: readonly [{
            readonly name: "chainId";
            readonly type: "uint256";
            readonly indexed: true;
            readonly internalType: "uint256";
        }, {
            readonly name: "prevDestinationSettler";
            readonly type: "address";
            readonly indexed: true;
            readonly internalType: "address";
        }, {
            readonly name: "destinationSettler";
            readonly type: "address";
            readonly indexed: true;
            readonly internalType: "address";
        }];
        readonly anonymous: false;
    }, {
        readonly type: "error";
        readonly name: "InvalidBytes32";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "NoDestinationSettlerForChain";
        readonly inputs: readonly [{
            readonly name: "chainId";
            readonly type: "uint256";
            readonly internalType: "uint256";
        }];
    }, {
        readonly type: "error";
        readonly name: "WrongChainId";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "WrongExclusiveRelayer";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "WrongOrderDataType";
        readonly inputs: readonly [];
    }, {
        readonly type: "error";
        readonly name: "WrongSettlementContract";
        readonly inputs: readonly [];
    }];
    static createInterface(): AcrossOriginSettlerInterface;
    static connect(address: string, signerOrProvider: Signer | Provider): AcrossOriginSettler;
}
export {};
