import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
export declare namespace SponsoredOFTInterface {
    type SignedQuoteParamsStruct = {
        srcEid: BigNumberish;
        dstEid: BigNumberish;
        destinationHandler: BytesLike;
        amountLD: BigNumberish;
        nonce: BytesLike;
        deadline: BigNumberish;
        maxBpsToSponsor: BigNumberish;
        maxUserSlippageBps: BigNumberish;
        finalRecipient: BytesLike;
        finalToken: BytesLike;
        destinationDex: BigNumberish;
        lzReceiveGasLimit: BigNumberish;
        lzComposeGasLimit: BigNumberish;
        maxOftFeeBps: BigNumberish;
        accountCreationMode: BigNumberish;
        executionMode: BigNumberish;
        actionData: BytesLike;
    };
    type SignedQuoteParamsStructOutput = [
        number,
        number,
        string,
        BigNumber,
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        string,
        string,
        number,
        BigNumber,
        BigNumber,
        BigNumber,
        number,
        number,
        string
    ] & {
        srcEid: number;
        dstEid: number;
        destinationHandler: string;
        amountLD: BigNumber;
        nonce: string;
        deadline: BigNumber;
        maxBpsToSponsor: BigNumber;
        maxUserSlippageBps: BigNumber;
        finalRecipient: string;
        finalToken: string;
        destinationDex: number;
        lzReceiveGasLimit: BigNumber;
        lzComposeGasLimit: BigNumber;
        maxOftFeeBps: BigNumber;
        accountCreationMode: number;
        executionMode: number;
        actionData: string;
    };
    type UnsignedQuoteParamsStruct = {
        refundRecipient: string;
    };
    type UnsignedQuoteParamsStructOutput = [string] & {
        refundRecipient: string;
    };
    type QuoteStruct = {
        signedParams: SponsoredOFTInterface.SignedQuoteParamsStruct;
        unsignedParams: SponsoredOFTInterface.UnsignedQuoteParamsStruct;
    };
    type QuoteStructOutput = [
        SponsoredOFTInterface.SignedQuoteParamsStructOutput,
        SponsoredOFTInterface.UnsignedQuoteParamsStructOutput
    ] & {
        signedParams: SponsoredOFTInterface.SignedQuoteParamsStructOutput;
        unsignedParams: SponsoredOFTInterface.UnsignedQuoteParamsStructOutput;
    };
}
export interface SponsoredOFTInterfaceInterface extends utils.Interface {
    functions: {
        "deposit(((uint32,uint32,bytes32,uint256,bytes32,uint256,uint256,uint256,bytes32,bytes32,uint32,uint256,uint256,uint256,uint8,uint8,bytes),(address)),bytes)": FunctionFragment;
        "setSigner(address)": FunctionFragment;
        "signer()": FunctionFragment;
        "usedNonces(bytes32)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "deposit" | "setSigner" | "signer" | "usedNonces"): FunctionFragment;
    encodeFunctionData(functionFragment: "deposit", values: [SponsoredOFTInterface.QuoteStruct, BytesLike]): string;
    encodeFunctionData(functionFragment: "setSigner", values: [string]): string;
    encodeFunctionData(functionFragment: "signer", values?: undefined): string;
    encodeFunctionData(functionFragment: "usedNonces", values: [BytesLike]): string;
    decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setSigner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "signer", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "usedNonces", data: BytesLike): Result;
    events: {
        "SponsoredOFTDirectExecution(bytes32,address,bytes32,bytes32,uint256,uint256,uint256,bytes32,bytes)": EventFragment;
        "SponsoredOFTSend(bytes32,address,bytes32,bytes32,uint256,uint256,uint256,bytes32,bytes)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "SponsoredOFTDirectExecution"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SponsoredOFTSend"): EventFragment;
}
export interface SponsoredOFTDirectExecutionEventObject {
    quoteNonce: string;
    originSender: string;
    finalRecipient: string;
    destinationHandler: string;
    quoteDeadline: BigNumber;
    maxBpsToSponsor: BigNumber;
    maxUserSlippageBps: BigNumber;
    finalToken: string;
    sig: string;
}
export type SponsoredOFTDirectExecutionEvent = TypedEvent<[
    string,
    string,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    string
], SponsoredOFTDirectExecutionEventObject>;
export type SponsoredOFTDirectExecutionEventFilter = TypedEventFilter<SponsoredOFTDirectExecutionEvent>;
export interface SponsoredOFTSendEventObject {
    quoteNonce: string;
    originSender: string;
    finalRecipient: string;
    destinationHandler: string;
    quoteDeadline: BigNumber;
    maxBpsToSponsor: BigNumber;
    maxUserSlippageBps: BigNumber;
    finalToken: string;
    sig: string;
}
export type SponsoredOFTSendEvent = TypedEvent<[
    string,
    string,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    string
], SponsoredOFTSendEventObject>;
export type SponsoredOFTSendEventFilter = TypedEventFilter<SponsoredOFTSendEvent>;
export interface SponsoredOFTInterface extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: SponsoredOFTInterfaceInterface;
    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: {
        deposit(quote: SponsoredOFTInterface.QuoteStruct, signature: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setSigner(_newSigner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        signer(overrides?: CallOverrides): Promise<[string]>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
    };
    deposit(quote: SponsoredOFTInterface.QuoteStruct, signature: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setSigner(_newSigner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    callStatic: {
        deposit(quote: SponsoredOFTInterface.QuoteStruct, signature: BytesLike, overrides?: CallOverrides): Promise<void>;
        setSigner(_newSigner: string, overrides?: CallOverrides): Promise<void>;
        signer(overrides?: CallOverrides): Promise<string>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    };
    filters: {
        "SponsoredOFTDirectExecution(bytes32,address,bytes32,bytes32,uint256,uint256,uint256,bytes32,bytes)"(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, destinationHandler?: null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, sig?: null): SponsoredOFTDirectExecutionEventFilter;
        SponsoredOFTDirectExecution(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, destinationHandler?: null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, sig?: null): SponsoredOFTDirectExecutionEventFilter;
        "SponsoredOFTSend(bytes32,address,bytes32,bytes32,uint256,uint256,uint256,bytes32,bytes)"(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, destinationHandler?: null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, sig?: null): SponsoredOFTSendEventFilter;
        SponsoredOFTSend(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, destinationHandler?: null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, sig?: null): SponsoredOFTSendEventFilter;
    };
    estimateGas: {
        deposit(quote: SponsoredOFTInterface.QuoteStruct, signature: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        setSigner(_newSigner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        signer(overrides?: CallOverrides): Promise<BigNumber>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        deposit(quote: SponsoredOFTInterface.QuoteStruct, signature: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setSigner(_newSigner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        signer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
//# sourceMappingURL=SponsoredOFTInterface.d.ts.map