import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../common";
export interface MessageProcessorInterface extends Interface {
    getFunction(nameOrSignature: "MESSAGE_DATA_LENGTH" | "currentBatchIndex" | "getAppendedBytes" | "getPublicCircuitInputs" | "hash2" | "hash3" | "hash4" | "hash5" | "hashLeftRight" | "initialize" | "initialized" | "mode" | "poll" | "processMessages" | "processingComplete" | "sbCommitment" | "sha256Hash" | "totalBatchesProcessed" | "verifier" | "verifyingKeysRegistry"): FunctionFragment;
    encodeFunctionData(functionFragment: "MESSAGE_DATA_LENGTH", values?: undefined): string;
    encodeFunctionData(functionFragment: "currentBatchIndex", values?: undefined): string;
    encodeFunctionData(functionFragment: "getAppendedBytes", values?: undefined): string;
    encodeFunctionData(functionFragment: "getPublicCircuitInputs", values: [BigNumberish, BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "hash2", values: [[BigNumberish, BigNumberish]]): string;
    encodeFunctionData(functionFragment: "hash3", values: [[BigNumberish, BigNumberish, BigNumberish]]): string;
    encodeFunctionData(functionFragment: "hash4", values: [[BigNumberish, BigNumberish, BigNumberish, BigNumberish]]): string;
    encodeFunctionData(functionFragment: "hash5", values: [
        [
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish
        ]
    ]): string;
    encodeFunctionData(functionFragment: "hashLeftRight", values: [BigNumberish, BigNumberish]): string;
    encodeFunctionData(functionFragment: "initialize", values?: undefined): string;
    encodeFunctionData(functionFragment: "initialized", values?: undefined): string;
    encodeFunctionData(functionFragment: "mode", values?: undefined): string;
    encodeFunctionData(functionFragment: "poll", values?: undefined): string;
    encodeFunctionData(functionFragment: "processMessages", values: [BigNumberish, BigNumberish[]]): string;
    encodeFunctionData(functionFragment: "processingComplete", values?: undefined): string;
    encodeFunctionData(functionFragment: "sbCommitment", values?: undefined): string;
    encodeFunctionData(functionFragment: "sha256Hash", values: [BigNumberish[]]): string;
    encodeFunctionData(functionFragment: "totalBatchesProcessed", values?: undefined): string;
    encodeFunctionData(functionFragment: "verifier", values?: undefined): string;
    encodeFunctionData(functionFragment: "verifyingKeysRegistry", values?: undefined): string;
    decodeFunctionResult(functionFragment: "MESSAGE_DATA_LENGTH", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "currentBatchIndex", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getAppendedBytes", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "getPublicCircuitInputs", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hash2", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hash3", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hash4", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hash5", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "hashLeftRight", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "initialized", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "mode", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "poll", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "processMessages", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "processingComplete", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sbCommitment", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "sha256Hash", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "totalBatchesProcessed", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "verifier", data: BytesLike): Result;
    decodeFunctionResult(functionFragment: "verifyingKeysRegistry", data: BytesLike): Result;
}
export interface MessageProcessor extends BaseContract {
    connect(runner?: ContractRunner | null): MessageProcessor;
    waitForDeployment(): Promise<this>;
    interface: MessageProcessorInterface;
    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>;
    MESSAGE_DATA_LENGTH: TypedContractMethod<[], [bigint], "view">;
    currentBatchIndex: TypedContractMethod<[], [bigint], "view">;
    getAppendedBytes: TypedContractMethod<[], [string], "view">;
    getPublicCircuitInputs: TypedContractMethod<[
        _currentMessageBatchIndex: BigNumberish,
        _newSbCommitment: BigNumberish,
        _outputBatchHash: BigNumberish
    ], [
        bigint[]
    ], "view">;
    hash2: TypedContractMethod<[
        array: [BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    hash3: TypedContractMethod<[
        array: [BigNumberish, BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    hash4: TypedContractMethod<[
        array: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    hash5: TypedContractMethod<[
        array: [
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish
        ]
    ], [
        bigint
    ], "view">;
    hashLeftRight: TypedContractMethod<[
        left: BigNumberish,
        right: BigNumberish
    ], [
        bigint
    ], "view">;
    initialize: TypedContractMethod<[], [void], "nonpayable">;
    initialized: TypedContractMethod<[], [boolean], "view">;
    mode: TypedContractMethod<[], [bigint], "view">;
    poll: TypedContractMethod<[], [string], "view">;
    processMessages: TypedContractMethod<[
        _newSbCommitment: BigNumberish,
        _proof: BigNumberish[]
    ], [
        void
    ], "nonpayable">;
    processingComplete: TypedContractMethod<[], [boolean], "view">;
    sbCommitment: TypedContractMethod<[], [bigint], "view">;
    sha256Hash: TypedContractMethod<[array: BigNumberish[]], [bigint], "view">;
    totalBatchesProcessed: TypedContractMethod<[], [bigint], "view">;
    verifier: TypedContractMethod<[], [string], "view">;
    verifyingKeysRegistry: TypedContractMethod<[], [string], "view">;
    getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
    getFunction(nameOrSignature: "MESSAGE_DATA_LENGTH"): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature: "currentBatchIndex"): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature: "getAppendedBytes"): TypedContractMethod<[], [string], "view">;
    getFunction(nameOrSignature: "getPublicCircuitInputs"): TypedContractMethod<[
        _currentMessageBatchIndex: BigNumberish,
        _newSbCommitment: BigNumberish,
        _outputBatchHash: BigNumberish
    ], [
        bigint[]
    ], "view">;
    getFunction(nameOrSignature: "hash2"): TypedContractMethod<[
        array: [BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "hash3"): TypedContractMethod<[
        array: [BigNumberish, BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "hash4"): TypedContractMethod<[
        array: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "hash5"): TypedContractMethod<[
        array: [
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish,
            BigNumberish
        ]
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "hashLeftRight"): TypedContractMethod<[
        left: BigNumberish,
        right: BigNumberish
    ], [
        bigint
    ], "view">;
    getFunction(nameOrSignature: "initialize"): TypedContractMethod<[], [void], "nonpayable">;
    getFunction(nameOrSignature: "initialized"): TypedContractMethod<[], [boolean], "view">;
    getFunction(nameOrSignature: "mode"): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature: "poll"): TypedContractMethod<[], [string], "view">;
    getFunction(nameOrSignature: "processMessages"): TypedContractMethod<[
        _newSbCommitment: BigNumberish,
        _proof: BigNumberish[]
    ], [
        void
    ], "nonpayable">;
    getFunction(nameOrSignature: "processingComplete"): TypedContractMethod<[], [boolean], "view">;
    getFunction(nameOrSignature: "sbCommitment"): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature: "sha256Hash"): TypedContractMethod<[array: BigNumberish[]], [bigint], "view">;
    getFunction(nameOrSignature: "totalBatchesProcessed"): TypedContractMethod<[], [bigint], "view">;
    getFunction(nameOrSignature: "verifier"): TypedContractMethod<[], [string], "view">;
    getFunction(nameOrSignature: "verifyingKeysRegistry"): TypedContractMethod<[], [string], "view">;
    filters: {};
}
//# sourceMappingURL=MessageProcessor.d.ts.map