import { Query } from "./query_pb.js";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
class QueryClient {
  constructor(_transport) {
    this._transport = _transport;
    this.typeName = Query.typeName;
    this.methods = Query.methods;
    this.options = Query.options;
  }
  /**
   * Retrieves auction params
   *
   * @generated from protobuf rpc: AuctionParams
   */
  auctionParams(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Retrieves current auction basket with current highest bid and bidder
   *
   * @generated from protobuf rpc: CurrentAuctionBasket
   */
  currentAuctionBasket(input, options) {
    const method = this.methods[1], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Retrieves the entire auction module's state
   *
   * @generated from protobuf rpc: AuctionModuleState
   */
  auctionModuleState(input, options) {
    const method = this.methods[2], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * @generated from protobuf rpc: LastAuctionResult
   */
  lastAuctionResult(input, options) {
    const method = this.methods[3], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Vouchers retrieves all outstanding vouchers; pass an empty denom to get all
   *
   * @generated from protobuf rpc: Vouchers
   */
  vouchers(input, options) {
    const method = this.methods[4], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
  /**
   * Voucher retrieves a single voucher for a given denom and address
   *
   * @generated from protobuf rpc: Voucher
   */
  voucher(input, options) {
    const method = this.methods[5], opt = this._transport.mergeOptions(options);
    return stackIntercept("unary", this._transport, method, opt, input);
  }
}
export {
  QueryClient
};
