import { Signer } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { IOriginSettler, IOriginSettlerInterface } from "../IOriginSettler";
export declare class IOriginSettler__factory {
    static readonly abi: readonly [{
        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: "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: "";
            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: "";
            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: "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;
    }];
    static createInterface(): IOriginSettlerInterface;
    static connect(address: string, signerOrProvider: Signer | Provider): IOriginSettler;
}
