import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, 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 SponsoredCCTPInterface {
    type SponsoredCCTPQuoteStruct = {
        sourceDomain: BigNumberish;
        destinationDomain: BigNumberish;
        mintRecipient: BytesLike;
        amount: BigNumberish;
        burnToken: BytesLike;
        destinationCaller: BytesLike;
        maxFee: BigNumberish;
        minFinalityThreshold: BigNumberish;
        nonce: BytesLike;
        deadline: BigNumberish;
        maxBpsToSponsor: BigNumberish;
        maxUserSlippageBps: BigNumberish;
        finalRecipient: BytesLike;
        finalToken: BytesLike;
        destinationDex: BigNumberish;
        accountCreationMode: BigNumberish;
        executionMode: BigNumberish;
        actionData: BytesLike;
    };
    type SponsoredCCTPQuoteStructOutput = [
        number,
        number,
        string,
        BigNumber,
        string,
        string,
        BigNumber,
        number,
        string,
        BigNumber,
        BigNumber,
        BigNumber,
        string,
        string,
        number,
        number,
        number,
        string
    ] & {
        sourceDomain: number;
        destinationDomain: number;
        mintRecipient: string;
        amount: BigNumber;
        burnToken: string;
        destinationCaller: string;
        maxFee: BigNumber;
        minFinalityThreshold: number;
        nonce: string;
        deadline: BigNumber;
        maxBpsToSponsor: BigNumber;
        maxUserSlippageBps: BigNumber;
        finalRecipient: string;
        finalToken: string;
        destinationDex: number;
        accountCreationMode: number;
        executionMode: number;
        actionData: string;
    };
}
export interface SponsoredCCTPSrcPeripheryInterface extends utils.Interface {
    functions: {
        "cctpTokenMessenger()": FunctionFragment;
        "depositForBurn((uint32,uint32,bytes32,uint256,bytes32,bytes32,uint256,uint32,bytes32,uint256,uint256,uint256,bytes32,bytes32,uint32,uint8,uint8,bytes),bytes)": FunctionFragment;
        "owner()": FunctionFragment;
        "renounceOwnership()": FunctionFragment;
        "setSigner(address)": FunctionFragment;
        "signer()": FunctionFragment;
        "sourceDomain()": FunctionFragment;
        "transferOwnership(address)": FunctionFragment;
        "usedNonces(bytes32)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "cctpTokenMessenger" | "depositForBurn" | "owner" | "renounceOwnership" | "setSigner" | "signer" | "sourceDomain" | "transferOwnership" | "usedNonces"): FunctionFragment;
    encodeFunctionData(functionFragment: "cctpTokenMessenger", values?: undefined): string;
    encodeFunctionData(functionFragment: "depositForBurn", values: [SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, BytesLike]): string;
    encodeFunctionData(functionFragment: "owner", values?: undefined): string;
    encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
    encodeFunctionData(functionFragment: "setSigner", values: [string]): string;
    encodeFunctionData(functionFragment: "signer", values?: undefined): string;
    encodeFunctionData(functionFragment: "sourceDomain", values?: undefined): string;
    encodeFunctionData(functionFragment: "transferOwnership", values: [string]): string;
    encodeFunctionData(functionFragment: "usedNonces", values: [BytesLike]): string;
    decodeFunctionResult(functionFragment: "cctpTokenMessenger", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositForBurn", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setSigner", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "signer", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sourceDomain", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "usedNonces", data: BytesLike): Result;
    events: {
        "EmergencyReceiveMessage(bytes32,address,address,uint256)": EventFragment;
        "OwnershipTransferred(address,address)": EventFragment;
        "SponsoredCCTPDirectExecution(bytes32,address,bytes32,uint256,uint256,uint256,bytes32,uint32,uint8,bytes)": EventFragment;
        "SponsoredDepositForBurn(bytes32,address,bytes32,uint256,uint256,uint256,bytes32,uint32,uint8,bytes)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "EmergencyReceiveMessage"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SponsoredCCTPDirectExecution"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SponsoredDepositForBurn"): EventFragment;
}
export interface EmergencyReceiveMessageEventObject {
    nonce: string;
    finalRecipent: string;
    finalToken: string;
    amount: BigNumber;
}
export type EmergencyReceiveMessageEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber
], EmergencyReceiveMessageEventObject>;
export type EmergencyReceiveMessageEventFilter = TypedEventFilter<EmergencyReceiveMessageEvent>;
export interface OwnershipTransferredEventObject {
    previousOwner: string;
    newOwner: string;
}
export type OwnershipTransferredEvent = TypedEvent<[
    string,
    string
], OwnershipTransferredEventObject>;
export type OwnershipTransferredEventFilter = TypedEventFilter<OwnershipTransferredEvent>;
export interface SponsoredCCTPDirectExecutionEventObject {
    quoteNonce: string;
    originSender: string;
    finalRecipient: string;
    quoteDeadline: BigNumber;
    maxBpsToSponsor: BigNumber;
    maxUserSlippageBps: BigNumber;
    finalToken: string;
    destinationDex: number;
    accountCreationMode: number;
    signature: string;
}
export type SponsoredCCTPDirectExecutionEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    number,
    number,
    string
], SponsoredCCTPDirectExecutionEventObject>;
export type SponsoredCCTPDirectExecutionEventFilter = TypedEventFilter<SponsoredCCTPDirectExecutionEvent>;
export interface SponsoredDepositForBurnEventObject {
    quoteNonce: string;
    originSender: string;
    finalRecipient: string;
    quoteDeadline: BigNumber;
    maxBpsToSponsor: BigNumber;
    maxUserSlippageBps: BigNumber;
    finalToken: string;
    destinationDex: number;
    accountCreationMode: number;
    signature: string;
}
export type SponsoredDepositForBurnEvent = TypedEvent<[
    string,
    string,
    string,
    BigNumber,
    BigNumber,
    BigNumber,
    string,
    number,
    number,
    string
], SponsoredDepositForBurnEventObject>;
export type SponsoredDepositForBurnEventFilter = TypedEventFilter<SponsoredDepositForBurnEvent>;
export interface SponsoredCCTPSrcPeriphery extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: SponsoredCCTPSrcPeripheryInterface;
    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: {
        cctpTokenMessenger(overrides?: CallOverrides): Promise<[string]>;
        depositForBurn(quote: SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        owner(overrides?: CallOverrides): Promise<[string]>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setSigner(_signer: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        signer(overrides?: CallOverrides): Promise<[string]>;
        sourceDomain(overrides?: CallOverrides): Promise<[number]>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
    };
    cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
    depositForBurn(quote: SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, signature: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    owner(overrides?: CallOverrides): Promise<string>;
    renounceOwnership(overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setSigner(_signer: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    sourceDomain(overrides?: CallOverrides): Promise<number>;
    transferOwnership(newOwner: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    callStatic: {
        cctpTokenMessenger(overrides?: CallOverrides): Promise<string>;
        depositForBurn(quote: SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, signature: BytesLike, overrides?: CallOverrides): Promise<void>;
        owner(overrides?: CallOverrides): Promise<string>;
        renounceOwnership(overrides?: CallOverrides): Promise<void>;
        setSigner(_signer: string, overrides?: CallOverrides): Promise<void>;
        signer(overrides?: CallOverrides): Promise<string>;
        sourceDomain(overrides?: CallOverrides): Promise<number>;
        transferOwnership(newOwner: string, overrides?: CallOverrides): Promise<void>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    };
    filters: {
        "EmergencyReceiveMessage(bytes32,address,address,uint256)"(nonce?: null, finalRecipent?: null, finalToken?: null, amount?: null): EmergencyReceiveMessageEventFilter;
        EmergencyReceiveMessage(nonce?: null, finalRecipent?: null, finalToken?: null, amount?: null): EmergencyReceiveMessageEventFilter;
        "OwnershipTransferred(address,address)"(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
        OwnershipTransferred(previousOwner?: string | null, newOwner?: string | null): OwnershipTransferredEventFilter;
        "SponsoredCCTPDirectExecution(bytes32,address,bytes32,uint256,uint256,uint256,bytes32,uint32,uint8,bytes)"(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, destinationDex?: null, accountCreationMode?: null, signature?: null): SponsoredCCTPDirectExecutionEventFilter;
        SponsoredCCTPDirectExecution(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, destinationDex?: null, accountCreationMode?: null, signature?: null): SponsoredCCTPDirectExecutionEventFilter;
        "SponsoredDepositForBurn(bytes32,address,bytes32,uint256,uint256,uint256,bytes32,uint32,uint8,bytes)"(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, destinationDex?: null, accountCreationMode?: null, signature?: null): SponsoredDepositForBurnEventFilter;
        SponsoredDepositForBurn(quoteNonce?: BytesLike | null, originSender?: string | null, finalRecipient?: BytesLike | null, quoteDeadline?: null, maxBpsToSponsor?: null, maxUserSlippageBps?: null, finalToken?: null, destinationDex?: null, accountCreationMode?: null, signature?: null): SponsoredDepositForBurnEventFilter;
    };
    estimateGas: {
        cctpTokenMessenger(overrides?: CallOverrides): Promise<BigNumber>;
        depositForBurn(quote: SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        owner(overrides?: CallOverrides): Promise<BigNumber>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setSigner(_signer: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        signer(overrides?: CallOverrides): Promise<BigNumber>;
        sourceDomain(overrides?: CallOverrides): Promise<BigNumber>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        cctpTokenMessenger(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        depositForBurn(quote: SponsoredCCTPInterface.SponsoredCCTPQuoteStruct, signature: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        renounceOwnership(overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setSigner(_signer: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        signer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        sourceDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        transferOwnership(newOwner: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        usedNonces(nonce: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
