// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
// @generated from protobuf file "injective/auction/v1beta1/tx.proto" (package "injective.auction.v1beta1", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { Msg } from "./tx_pb";
import type { MsgClaimVoucherResponse } from "./tx_pb";
import type { MsgClaimVoucher } from "./tx_pb";
import type { MsgUpdateParamsResponse } from "./tx_pb";
import type { MsgUpdateParams } from "./tx_pb";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { MsgBidResponse } from "./tx_pb";
import type { MsgBid } from "./tx_pb";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * Msg defines the auction Msg service.
 *
 * @generated from protobuf service injective.auction.v1beta1.Msg
 */
export interface IMsgClient {
    /**
     * Bid defines a method for placing a bid for an auction
     *
     * @generated from protobuf rpc: Bid
     */
    bid(input: MsgBid, options?: RpcOptions): UnaryCall<MsgBid, MsgBidResponse>;
    /**
     * @generated from protobuf rpc: UpdateParams
     */
    updateParams(input: MsgUpdateParams, options?: RpcOptions): UnaryCall<MsgUpdateParams, MsgUpdateParamsResponse>;
    /**
     * ClaimVoucher defines a method for claiming an outstanding voucher
     *
     * @generated from protobuf rpc: ClaimVoucher
     */
    claimVoucher(input: MsgClaimVoucher, options?: RpcOptions): UnaryCall<MsgClaimVoucher, MsgClaimVoucherResponse>;
}
/**
 * Msg defines the auction Msg service.
 *
 * @generated from protobuf service injective.auction.v1beta1.Msg
 */
export class MsgClient implements IMsgClient, ServiceInfo {
    typeName = Msg.typeName;
    methods = Msg.methods;
    options = Msg.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * Bid defines a method for placing a bid for an auction
     *
     * @generated from protobuf rpc: Bid
     */
    bid(input: MsgBid, options?: RpcOptions): UnaryCall<MsgBid, MsgBidResponse> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<MsgBid, MsgBidResponse>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: UpdateParams
     */
    updateParams(input: MsgUpdateParams, options?: RpcOptions): UnaryCall<MsgUpdateParams, MsgUpdateParamsResponse> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<MsgUpdateParams, MsgUpdateParamsResponse>("unary", this._transport, method, opt, input);
    }
    /**
     * ClaimVoucher defines a method for claiming an outstanding voucher
     *
     * @generated from protobuf rpc: ClaimVoucher
     */
    claimVoucher(input: MsgClaimVoucher, options?: RpcOptions): UnaryCall<MsgClaimVoucher, MsgClaimVoucherResponse> {
        const method = this.methods[2], opt = this._transport.mergeOptions(options);
        return stackIntercept<MsgClaimVoucher, MsgClaimVoucherResponse>("unary", this._transport, method, opt, input);
    }
}
