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 interface DstOFTHandlerInterface extends utils.Interface {
    functions: {
        "AUTHORIZED_FUNDED_FLOW_SLOT()": FunctionFragment;
        "DEFAULT_ADMIN_ROLE()": FunctionFragment;
        "EXTRA_FEES_TO_SPONSOR()": FunctionFragment;
        "FUNDS_SWEEPER_ROLE()": FunctionFragment;
        "IOFT_ADDRESS()": FunctionFragment;
        "OFT_ENDPOINT_ADDRESS()": FunctionFragment;
        "PERMISSIONED_BOT_ROLE()": FunctionFragment;
        "authorizedSrcPeripheryContracts(uint64)": FunctionFragment;
        "baseToken()": FunctionFragment;
        "getRoleAdmin(bytes32)": FunctionFragment;
        "grantRole(bytes32,address)": FunctionFragment;
        "hasRole(bytes32,address)": FunctionFragment;
        "hyperCoreModule()": FunctionFragment;
        "lzCompose(address,bytes32,bytes,address,bytes)": FunctionFragment;
        "multicallHandler()": FunctionFragment;
        "renounceRole(bytes32,address)": FunctionFragment;
        "revokeRole(bytes32,address)": FunctionFragment;
        "setAuthorizedPeriphery(uint32,bytes32)": FunctionFragment;
        "supportsInterface(bytes4)": FunctionFragment;
        "usedNonces(bytes32)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "AUTHORIZED_FUNDED_FLOW_SLOT" | "DEFAULT_ADMIN_ROLE" | "EXTRA_FEES_TO_SPONSOR" | "FUNDS_SWEEPER_ROLE" | "IOFT_ADDRESS" | "OFT_ENDPOINT_ADDRESS" | "PERMISSIONED_BOT_ROLE" | "authorizedSrcPeripheryContracts" | "baseToken" | "getRoleAdmin" | "grantRole" | "hasRole" | "hyperCoreModule" | "lzCompose" | "multicallHandler" | "renounceRole" | "revokeRole" | "setAuthorizedPeriphery" | "supportsInterface" | "usedNonces"): FunctionFragment;
    encodeFunctionData(functionFragment: "AUTHORIZED_FUNDED_FLOW_SLOT", values?: undefined): string;
    encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "EXTRA_FEES_TO_SPONSOR", values?: undefined): string;
    encodeFunctionData(functionFragment: "FUNDS_SWEEPER_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "IOFT_ADDRESS", values?: undefined): string;
    encodeFunctionData(functionFragment: "OFT_ENDPOINT_ADDRESS", values?: undefined): string;
    encodeFunctionData(functionFragment: "PERMISSIONED_BOT_ROLE", values?: undefined): string;
    encodeFunctionData(functionFragment: "authorizedSrcPeripheryContracts", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "baseToken", values?: undefined): string;
    encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
    encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, string]): string;
    encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, string]): string;
    encodeFunctionData(functionFragment: "hyperCoreModule", values?: undefined): string;
    encodeFunctionData(functionFragment: "lzCompose", values: [string, BytesLike, BytesLike, string, BytesLike]): string;
    encodeFunctionData(functionFragment: "multicallHandler", values?: undefined): string;
    encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, string]): string;
    encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, string]): string;
    encodeFunctionData(functionFragment: "setAuthorizedPeriphery", values: [BigNumberish, BytesLike]): string;
    encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
    encodeFunctionData(functionFragment: "usedNonces", values: [BytesLike]): string;
    decodeFunctionResult(functionFragment: "AUTHORIZED_FUNDED_FLOW_SLOT", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "EXTRA_FEES_TO_SPONSOR", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "FUNDS_SWEEPER_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "IOFT_ADDRESS", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "OFT_ENDPOINT_ADDRESS", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "PERMISSIONED_BOT_ROLE", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "authorizedSrcPeripheryContracts", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "baseToken", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hyperCoreModule", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "lzCompose", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "multicallHandler", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "setAuthorizedPeriphery", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "usedNonces", data: BytesLike): Result;
    events: {
        "ArbitraryActionsExecuted(bytes32,address,uint256,address,uint256)": EventFragment;
        "Initialized(uint64)": EventFragment;
        "RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
        "RoleGranted(bytes32,address,address)": EventFragment;
        "RoleRevoked(bytes32,address,address)": EventFragment;
        "SetAuthorizedPeriphery(uint32,bytes32)": EventFragment;
    };
    getEvent(nameOrSignatureOrTopic: "ArbitraryActionsExecuted"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
    getEvent(nameOrSignatureOrTopic: "SetAuthorizedPeriphery"): EventFragment;
}
export interface ArbitraryActionsExecutedEventObject {
    quoteNonce: string;
    initialToken: string;
    initialAmount: BigNumber;
    finalToken: string;
    finalAmount: BigNumber;
}
export type ArbitraryActionsExecutedEvent = TypedEvent<[
    string,
    string,
    BigNumber,
    string,
    BigNumber
], ArbitraryActionsExecutedEventObject>;
export type ArbitraryActionsExecutedEventFilter = TypedEventFilter<ArbitraryActionsExecutedEvent>;
export interface InitializedEventObject {
    version: BigNumber;
}
export type InitializedEvent = TypedEvent<[BigNumber], InitializedEventObject>;
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
export interface RoleAdminChangedEventObject {
    role: string;
    previousAdminRole: string;
    newAdminRole: string;
}
export type RoleAdminChangedEvent = TypedEvent<[
    string,
    string,
    string
], RoleAdminChangedEventObject>;
export type RoleAdminChangedEventFilter = TypedEventFilter<RoleAdminChangedEvent>;
export interface RoleGrantedEventObject {
    role: string;
    account: string;
    sender: string;
}
export type RoleGrantedEvent = TypedEvent<[
    string,
    string,
    string
], RoleGrantedEventObject>;
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
export interface RoleRevokedEventObject {
    role: string;
    account: string;
    sender: string;
}
export type RoleRevokedEvent = TypedEvent<[
    string,
    string,
    string
], RoleRevokedEventObject>;
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
export interface SetAuthorizedPeripheryEventObject {
    srcEid: number;
    srcPeriphery: string;
}
export type SetAuthorizedPeripheryEvent = TypedEvent<[
    number,
    string
], SetAuthorizedPeripheryEventObject>;
export type SetAuthorizedPeripheryEventFilter = TypedEventFilter<SetAuthorizedPeripheryEvent>;
export interface DstOFTHandler extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: DstOFTHandlerInterface;
    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: {
        AUTHORIZED_FUNDED_FLOW_SLOT(overrides?: CallOverrides): Promise<[string]>;
        DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>;
        EXTRA_FEES_TO_SPONSOR(overrides?: CallOverrides): Promise<[BigNumber]>;
        FUNDS_SWEEPER_ROLE(overrides?: CallOverrides): Promise<[string]>;
        IOFT_ADDRESS(overrides?: CallOverrides): Promise<[string]>;
        OFT_ENDPOINT_ADDRESS(overrides?: CallOverrides): Promise<[string]>;
        PERMISSIONED_BOT_ROLE(overrides?: CallOverrides): Promise<[string]>;
        authorizedSrcPeripheryContracts(eid: BigNumberish, overrides?: CallOverrides): Promise<[string] & {
            authorizedSrcPeriphery: string;
        }>;
        baseToken(overrides?: CallOverrides): Promise<[string]>;
        getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>;
        grantRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<[boolean]>;
        hyperCoreModule(overrides?: CallOverrides): Promise<[string]>;
        lzCompose(_oApp: string, arg1: BytesLike, _message: BytesLike, arg3: string, arg4: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        multicallHandler(overrides?: CallOverrides): Promise<[string]>;
        renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        revokeRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        setAuthorizedPeriphery(srcEid: BigNumberish, srcPeriphery: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<ContractTransaction>;
        supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
        usedNonces(quoteNonce: BytesLike, overrides?: CallOverrides): Promise<[boolean] & {
            used: boolean;
        }>;
    };
    AUTHORIZED_FUNDED_FLOW_SLOT(overrides?: CallOverrides): Promise<string>;
    DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
    EXTRA_FEES_TO_SPONSOR(overrides?: CallOverrides): Promise<BigNumber>;
    FUNDS_SWEEPER_ROLE(overrides?: CallOverrides): Promise<string>;
    IOFT_ADDRESS(overrides?: CallOverrides): Promise<string>;
    OFT_ENDPOINT_ADDRESS(overrides?: CallOverrides): Promise<string>;
    PERMISSIONED_BOT_ROLE(overrides?: CallOverrides): Promise<string>;
    authorizedSrcPeripheryContracts(eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
    baseToken(overrides?: CallOverrides): Promise<string>;
    getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
    grantRole(role: BytesLike, account: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>;
    hyperCoreModule(overrides?: CallOverrides): Promise<string>;
    lzCompose(_oApp: string, arg1: BytesLike, _message: BytesLike, arg3: string, arg4: BytesLike, overrides?: PayableOverrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    multicallHandler(overrides?: CallOverrides): Promise<string>;
    renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    revokeRole(role: BytesLike, account: string, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    setAuthorizedPeriphery(srcEid: BigNumberish, srcPeriphery: BytesLike, overrides?: Overrides & {
        from?: string;
    }): Promise<ContractTransaction>;
    supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    usedNonces(quoteNonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    callStatic: {
        AUTHORIZED_FUNDED_FLOW_SLOT(overrides?: CallOverrides): Promise<string>;
        DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
        EXTRA_FEES_TO_SPONSOR(overrides?: CallOverrides): Promise<BigNumber>;
        FUNDS_SWEEPER_ROLE(overrides?: CallOverrides): Promise<string>;
        IOFT_ADDRESS(overrides?: CallOverrides): Promise<string>;
        OFT_ENDPOINT_ADDRESS(overrides?: CallOverrides): Promise<string>;
        PERMISSIONED_BOT_ROLE(overrides?: CallOverrides): Promise<string>;
        authorizedSrcPeripheryContracts(eid: BigNumberish, overrides?: CallOverrides): Promise<string>;
        baseToken(overrides?: CallOverrides): Promise<string>;
        getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
        grantRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>;
        hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<boolean>;
        hyperCoreModule(overrides?: CallOverrides): Promise<string>;
        lzCompose(_oApp: string, arg1: BytesLike, _message: BytesLike, arg3: string, arg4: BytesLike, overrides?: CallOverrides): Promise<void>;
        multicallHandler(overrides?: CallOverrides): Promise<string>;
        renounceRole(role: BytesLike, callerConfirmation: string, overrides?: CallOverrides): Promise<void>;
        revokeRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<void>;
        setAuthorizedPeriphery(srcEid: BigNumberish, srcPeriphery: BytesLike, overrides?: CallOverrides): Promise<void>;
        supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<boolean>;
        usedNonces(quoteNonce: BytesLike, overrides?: CallOverrides): Promise<boolean>;
    };
    filters: {
        "ArbitraryActionsExecuted(bytes32,address,uint256,address,uint256)"(quoteNonce?: BytesLike | null, initialToken?: string | null, initialAmount?: null, finalToken?: string | null, finalAmount?: null): ArbitraryActionsExecutedEventFilter;
        ArbitraryActionsExecuted(quoteNonce?: BytesLike | null, initialToken?: string | null, initialAmount?: null, finalToken?: string | null, finalAmount?: null): ArbitraryActionsExecutedEventFilter;
        "Initialized(uint64)"(version?: null): InitializedEventFilter;
        Initialized(version?: null): InitializedEventFilter;
        "RoleAdminChanged(bytes32,bytes32,bytes32)"(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter;
        RoleAdminChanged(role?: BytesLike | null, previousAdminRole?: BytesLike | null, newAdminRole?: BytesLike | null): RoleAdminChangedEventFilter;
        "RoleGranted(bytes32,address,address)"(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter;
        RoleGranted(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleGrantedEventFilter;
        "RoleRevoked(bytes32,address,address)"(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter;
        RoleRevoked(role?: BytesLike | null, account?: string | null, sender?: string | null): RoleRevokedEventFilter;
        "SetAuthorizedPeriphery(uint32,bytes32)"(srcEid?: null, srcPeriphery?: null): SetAuthorizedPeripheryEventFilter;
        SetAuthorizedPeriphery(srcEid?: null, srcPeriphery?: null): SetAuthorizedPeripheryEventFilter;
    };
    estimateGas: {
        AUTHORIZED_FUNDED_FLOW_SLOT(overrides?: CallOverrides): Promise<BigNumber>;
        DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        EXTRA_FEES_TO_SPONSOR(overrides?: CallOverrides): Promise<BigNumber>;
        FUNDS_SWEEPER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        IOFT_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>;
        OFT_ENDPOINT_ADDRESS(overrides?: CallOverrides): Promise<BigNumber>;
        PERMISSIONED_BOT_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
        authorizedSrcPeripheryContracts(eid: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
        baseToken(overrides?: CallOverrides): Promise<BigNumber>;
        getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        grantRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<BigNumber>;
        hyperCoreModule(overrides?: CallOverrides): Promise<BigNumber>;
        lzCompose(_oApp: string, arg1: BytesLike, _message: BytesLike, arg3: string, arg4: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<BigNumber>;
        multicallHandler(overrides?: CallOverrides): Promise<BigNumber>;
        renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        revokeRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        setAuthorizedPeriphery(srcEid: BigNumberish, srcPeriphery: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<BigNumber>;
        supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
        usedNonces(quoteNonce: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
    };
    populateTransaction: {
        AUTHORIZED_FUNDED_FLOW_SLOT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        EXTRA_FEES_TO_SPONSOR(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        FUNDS_SWEEPER_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        IOFT_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        OFT_ENDPOINT_ADDRESS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        PERMISSIONED_BOT_ROLE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        authorizedSrcPeripheryContracts(eid: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        baseToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        grantRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        hasRole(role: BytesLike, account: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        hyperCoreModule(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        lzCompose(_oApp: string, arg1: BytesLike, _message: BytesLike, arg3: string, arg4: BytesLike, overrides?: PayableOverrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        multicallHandler(overrides?: CallOverrides): Promise<PopulatedTransaction>;
        renounceRole(role: BytesLike, callerConfirmation: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        revokeRole(role: BytesLike, account: string, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        setAuthorizedPeriphery(srcEid: BigNumberish, srcPeriphery: BytesLike, overrides?: Overrides & {
            from?: string;
        }): Promise<PopulatedTransaction>;
        supportsInterface(interfaceId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
        usedNonces(quoteNonce: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
    };
}
