import { MessageType } from "@protobuf-ts/runtime";
import { Empty } from "../../../google/protobuf/empty";
import { Any } from "../../../google/protobuf/any";
/**
 * @generated from protobuf message protorpc.RpcMessage
 */
export interface RpcMessage {
    /**
     * @generated from protobuf field: map<string, string> header = 1;
     */
    header: {
        [key: string]: string;
    };
    /**
     * @generated from protobuf field: google.protobuf.Any body = 2;
     */
    body?: Any;
    /**
     * @generated from protobuf field: string requestId = 3;
     */
    requestId: string;
    /**
     * @generated from protobuf field: optional protorpc.RpcErrorType errorType = 4;
     */
    errorType?: RpcErrorType;
    /**
     * @generated from protobuf field: optional string errorClassName = 5;
     */
    errorClassName?: string;
    /**
     * @generated from protobuf field: optional string errorCode = 6;
     */
    errorCode?: string;
    /**
     * @generated from protobuf field: optional string errorMessage = 7;
     */
    errorMessage?: string;
}
/**
 * @generated from protobuf message protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq
 */
export interface Mnfo2uhnf92hvqi2nviouq2hv9puhq {
    /**
     * @generated from protobuf field: google.protobuf.Empty empty = 1;
     */
    empty?: Empty;
}
/**
 * @generated from protobuf enum protorpc.RpcErrorType
 */
export declare enum RpcErrorType {
    /**
     * @generated from protobuf enum value: SERVER_TIMEOUT = 0;
     */
    SERVER_TIMEOUT = 0,
    /**
     * @generated from protobuf enum value: CLIENT_TIMEOUT = 1;
     */
    CLIENT_TIMEOUT = 1,
    /**
     * @generated from protobuf enum value: UNKNOWN_RPC_METHOD = 2;
     */
    UNKNOWN_RPC_METHOD = 2,
    /**
     * @generated from protobuf enum value: CLIENT_ERROR = 3;
     */
    CLIENT_ERROR = 3,
    /**
     * @generated from protobuf enum value: SERVER_ERROR = 4;
     */
    SERVER_ERROR = 4
}
declare class RpcMessage$Type extends MessageType<RpcMessage> {
    constructor();
}
/**
 * @generated MessageType for protobuf message protorpc.RpcMessage
 */
export declare const RpcMessage: RpcMessage$Type;
declare class Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type extends MessageType<Mnfo2uhnf92hvqi2nviouq2hv9puhq> {
    constructor();
}
/**
 * @generated MessageType for protobuf message protorpc.Mnfo2uhnf92hvqi2nviouq2hv9puhq
 */
export declare const Mnfo2uhnf92hvqi2nviouq2hv9puhq: Mnfo2uhnf92hvqi2nviouq2hv9puhq$Type;
export {};
