import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../../../../../common";
export type MessageStruct = {
    value: PromiseOrValue<BigNumberish>;
    sender: PromiseOrValue<string>;
    client: PromiseOrValue<string>;
    chainId: PromiseOrValue<BigNumberish>;
};
export type MessageStructOutput = [BigNumber, string, string, number] & {
    value: BigNumber;
    sender: string;
    client: string;
    chainId: number;
};
export interface IPostmanInterface extends utils.Interface {
    functions: {
        "deliverMessage((uint256,address,address,uint16),address,address,uint8,uint16)": FunctionFragment;
    };
    getFunction(nameOrSignatureOrTopic: "deliverMessage"): FunctionFragment;
    encodeFunctionData(functionFragment: "deliverMessage", values: [
        MessageStruct,
        PromiseOrValue<string>,
        PromiseOrValue<string>,
        PromiseOrValue<BigNumberish>,
        PromiseOrValue<BigNumberish>
    ]): string;
    decodeFunctionResult(functionFragment: "deliverMessage", data: BytesLike): Result;
    events: {};
}
export interface IPostman extends BaseContract {
    connect(signerOrProvider: Signer | Provider | string): this;
    attach(addressOrName: string): this;
    deployed(): Promise<this>;
    interface: IPostmanInterface;
    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: {
        deliverMessage(_msg: MessageStruct, _dstVautAddress: PromiseOrValue<string>, _dstPostman: PromiseOrValue<string>, _messageType: PromiseOrValue<BigNumberish>, _dstChainId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<ContractTransaction>;
    };
    deliverMessage(_msg: MessageStruct, _dstVautAddress: PromiseOrValue<string>, _dstPostman: PromiseOrValue<string>, _messageType: PromiseOrValue<BigNumberish>, _dstChainId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
        from?: PromiseOrValue<string>;
    }): Promise<ContractTransaction>;
    callStatic: {
        deliverMessage(_msg: MessageStruct, _dstVautAddress: PromiseOrValue<string>, _dstPostman: PromiseOrValue<string>, _messageType: PromiseOrValue<BigNumberish>, _dstChainId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
    };
    filters: {};
    estimateGas: {
        deliverMessage(_msg: MessageStruct, _dstVautAddress: PromiseOrValue<string>, _dstPostman: PromiseOrValue<string>, _messageType: PromiseOrValue<BigNumberish>, _dstChainId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<BigNumber>;
    };
    populateTransaction: {
        deliverMessage(_msg: MessageStruct, _dstVautAddress: PromiseOrValue<string>, _dstPostman: PromiseOrValue<string>, _messageType: PromiseOrValue<BigNumberish>, _dstChainId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
            from?: PromiseOrValue<string>;
        }): Promise<PopulatedTransaction>;
    };
}
