import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
export interface IInboxInterface extends Interface {
    getFunction(nameOrSignature: "bridge" | "createRetryableTicket" | "depositEth" | "pauseCreateRetryables" | "sendContractTransaction" | "sendL1FundedContractTransaction" | "sendL1FundedUnsignedTransaction" | "sendL2Message" | "sendUnsignedTransaction" | "startRewriteAddress" | "stopRewriteAddress" | "unpauseCreateRetryables"): FunctionFragment;
    getEvent(nameOrSignatureOrTopic: "InboxMessageDelivered" | "InboxMessageDeliveredFromOrigin"): EventFragment;
    encodeFunctionData(functionFragment: "bridge", values?: undefined): string;
    encodeFunctionData(functionFragment: "createRetryableTicket", values: [
        AddressLike,
        BigNumberish,
        BigNumberish,
        AddressLike,
        AddressLike,
        BigNumberish,
        BigNumberish,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "depositEth", values: [BigNumberish]): string;
    encodeFunctionData(functionFragment: "pauseCreateRetryables", values?: undefined): string;
    encodeFunctionData(functionFragment: "sendContractTransaction", values: [BigNumberish, BigNumberish, AddressLike, BigNumberish, BytesLike]): string;
    encodeFunctionData(functionFragment: "sendL1FundedContractTransaction", values: [BigNumberish, BigNumberish, AddressLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "sendL1FundedUnsignedTransaction", values: [BigNumberish, BigNumberish, BigNumberish, AddressLike, BytesLike]): string;
    encodeFunctionData(functionFragment: "sendL2Message", values: [BytesLike]): string;
    encodeFunctionData(functionFragment: "sendUnsignedTransaction", values: [
        BigNumberish,
        BigNumberish,
        BigNumberish,
        AddressLike,
        BigNumberish,
        BytesLike
    ]): string;
    encodeFunctionData(functionFragment: "startRewriteAddress", values?: undefined): string;
    encodeFunctionData(functionFragment: "stopRewriteAddress", values?: undefined): string;
    encodeFunctionData(functionFragment: "unpauseCreateRetryables", values?: undefined): string;
    decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "createRetryableTicket", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "depositEth", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "pauseCreateRetryables", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendContractTransaction", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendL1FundedContractTransaction", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendL1FundedUnsignedTransaction", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendL2Message", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sendUnsignedTransaction", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "startRewriteAddress", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "stopRewriteAddress", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "unpauseCreateRetryables", data: BytesLike): Result;
}
export declare namespace InboxMessageDeliveredEvent {
    type InputTuple = [messageNum: BigNumberish, data: BytesLike];
    type OutputTuple = [messageNum: bigint, data: string];
    interface OutputObject {
        messageNum: bigint;
        data: string;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export declare namespace InboxMessageDeliveredFromOriginEvent {
    type InputTuple = [messageNum: BigNumberish];
    type OutputTuple = [messageNum: bigint];
    interface OutputObject {
        messageNum: bigint;
    }
    type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
    type Filter = TypedDeferredTopicFilter<Event>;
    type Log = TypedEventLog<Event>;
    type LogDescription = TypedLogDescription<Event>;
}
export interface IInbox extends BaseContract {
    connect(runner?: ContractRunner | null): IInbox;
    waitForDeployment(): Promise<this>;
    interface: IInboxInterface;
    queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
    on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
    once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
    listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
    listeners(eventName?: string): Promise<Array<Listener>>;
    removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
    bridge: TypedContractMethod<[], [string], "view">;
    createRetryableTicket: TypedContractMethod<[
        destAddr: AddressLike,
        arbTxCallValue: BigNumberish,
        maxSubmissionCost: BigNumberish,
        submissionRefundAddress: AddressLike,
        valueRefundAddress: AddressLike,
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    depositEth: TypedContractMethod<[
        maxSubmissionCost: BigNumberish
    ], [
        bigint
    ], "payable">;
    pauseCreateRetryables: TypedContractMethod<[], [void], "nonpayable">;
    sendContractTransaction: TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        destAddr: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "nonpayable">;
    sendL1FundedContractTransaction: TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        destAddr: AddressLike,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    sendL1FundedUnsignedTransaction: TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        nonce: BigNumberish,
        destAddr: AddressLike,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    sendL2Message: TypedContractMethod<[
        messageData: BytesLike
    ], [
        bigint
    ], "nonpayable">;
    sendUnsignedTransaction: TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        nonce: BigNumberish,
        destAddr: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "nonpayable">;
    startRewriteAddress: TypedContractMethod<[], [void], "nonpayable">;
    stopRewriteAddress: TypedContractMethod<[], [void], "nonpayable">;
    unpauseCreateRetryables: TypedContractMethod<[], [void], "nonpayable">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "bridge"): TypedContractMethod<[], [string], "view">;
    getFunction(nameOrSignature: "createRetryableTicket"): TypedContractMethod<[
        destAddr: AddressLike,
        arbTxCallValue: BigNumberish,
        maxSubmissionCost: BigNumberish,
        submissionRefundAddress: AddressLike,
        valueRefundAddress: AddressLike,
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    getFunction(nameOrSignature: "depositEth"): TypedContractMethod<[
        maxSubmissionCost: BigNumberish
    ], [
        bigint
    ], "payable">;
    getFunction(nameOrSignature: "pauseCreateRetryables"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "sendContractTransaction"): TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        destAddr: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "nonpayable">;
    getFunction(nameOrSignature: "sendL1FundedContractTransaction"): TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        destAddr: AddressLike,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    getFunction(nameOrSignature: "sendL1FundedUnsignedTransaction"): TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        nonce: BigNumberish,
        destAddr: AddressLike,
        data: BytesLike
    ], [
        bigint
    ], "payable">;
    getFunction(nameOrSignature: "sendL2Message"): TypedContractMethod<[messageData: BytesLike], [bigint], "nonpayable">;
    getFunction(nameOrSignature: "sendUnsignedTransaction"): TypedContractMethod<[
        maxGas: BigNumberish,
        gasPriceBid: BigNumberish,
        nonce: BigNumberish,
        destAddr: AddressLike,
        amount: BigNumberish,
        data: BytesLike
    ], [
        bigint
    ], "nonpayable">;
    getFunction(nameOrSignature: "startRewriteAddress"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "stopRewriteAddress"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "unpauseCreateRetryables"): TypedContractMethod<[], [void], "nonpayable">;
    getEvent(key: "InboxMessageDelivered"): TypedContractEvent<InboxMessageDeliveredEvent.InputTuple, InboxMessageDeliveredEvent.OutputTuple, InboxMessageDeliveredEvent.OutputObject>;
    getEvent(key: "InboxMessageDeliveredFromOrigin"): TypedContractEvent<InboxMessageDeliveredFromOriginEvent.InputTuple, InboxMessageDeliveredFromOriginEvent.OutputTuple, InboxMessageDeliveredFromOriginEvent.OutputObject>;
    filters: {
        "InboxMessageDelivered(uint256,bytes)": TypedContractEvent<InboxMessageDeliveredEvent.InputTuple, InboxMessageDeliveredEvent.OutputTuple, InboxMessageDeliveredEvent.OutputObject>;
        InboxMessageDelivered: TypedContractEvent<InboxMessageDeliveredEvent.InputTuple, InboxMessageDeliveredEvent.OutputTuple, InboxMessageDeliveredEvent.OutputObject>;
        "InboxMessageDeliveredFromOrigin(uint256)": TypedContractEvent<InboxMessageDeliveredFromOriginEvent.InputTuple, InboxMessageDeliveredFromOriginEvent.OutputTuple, InboxMessageDeliveredFromOriginEvent.OutputObject>;
        InboxMessageDeliveredFromOrigin: TypedContractEvent<InboxMessageDeliveredFromOriginEvent.InputTuple, InboxMessageDeliveredFromOriginEvent.OutputTuple, InboxMessageDeliveredFromOriginEvent.OutputObject>;
    };
}
//# sourceMappingURL=IInbox.d.ts.map