import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Interface, EventFragment, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../common";
export interface IMessageProviderInterface extends Interface {
    getEvent(nameOrSignatureOrTopic: "InboxMessageDelivered" | "InboxMessageDeliveredFromOrigin"): EventFragment;
}
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 IMessageProvider extends BaseContract {
    connect(runner?: ContractRunner | null): IMessageProvider;
    waitForDeployment(): Promise<this>;
    interface: IMessageProviderInterface;
    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>;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    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=IMessageProvider.d.ts.map