// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "client.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { ClientService } from "./client";
import type { RegisterClientRequest } from "./client";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { RegisterClientResult } from "./client";
import type { RegisterPlatformClientRequest } from "./client";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * @generated from protobuf service api.ClientService
 */
export interface IClientServiceClient {
    /**
     * @generated from protobuf rpc: RegisterPlatformClient(api.RegisterPlatformClientRequest) returns (api.RegisterClientResult);
     */
    registerPlatformClient(input: RegisterPlatformClientRequest, options?: RpcOptions): UnaryCall<RegisterPlatformClientRequest, RegisterClientResult>;
    /**
     * @generated from protobuf rpc: RegisterClient(api.RegisterClientRequest) returns (api.RegisterClientResult);
     */
    registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResult>;
}
/**
 * @generated from protobuf service api.ClientService
 */
export class ClientServiceClient implements IClientServiceClient, ServiceInfo {
    typeName = ClientService.typeName;
    methods = ClientService.methods;
    options = ClientService.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: RegisterPlatformClient(api.RegisterPlatformClientRequest) returns (api.RegisterClientResult);
     */
    registerPlatformClient(input: RegisterPlatformClientRequest, options?: RpcOptions): UnaryCall<RegisterPlatformClientRequest, RegisterClientResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<RegisterPlatformClientRequest, RegisterClientResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: RegisterClient(api.RegisterClientRequest) returns (api.RegisterClientResult);
     */
    registerClient(input: RegisterClientRequest, options?: RpcOptions): UnaryCall<RegisterClientRequest, RegisterClientResult> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<RegisterClientRequest, RegisterClientResult>("unary", this._transport, method, opt, input);
    }
}
