// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "adminConnection.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { AdminConnectionService } from "./adminConnection";
import type { ListConnectionManagerResult } from "./adminConnection";
import type { ListConnectionManagerRequest } from "./adminConnection";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { RegisterConnectionManagerResult } from "./adminConnection";
import type { RegisterConnectionManagerRequest } from "./adminConnection";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * @generated from protobuf service api.AdminConnectionService
 */
export interface IAdminConnectionServiceClient {
    /**
     * @generated from protobuf rpc: RegisterConnectionManager(api.RegisterConnectionManagerRequest) returns (api.RegisterConnectionManagerResult);
     */
    registerConnectionManager(input: RegisterConnectionManagerRequest, options?: RpcOptions): UnaryCall<RegisterConnectionManagerRequest, RegisterConnectionManagerResult>;
    /**
     * @generated from protobuf rpc: ListConnectionManager(api.ListConnectionManagerRequest) returns (api.ListConnectionManagerResult);
     */
    listConnectionManager(input: ListConnectionManagerRequest, options?: RpcOptions): UnaryCall<ListConnectionManagerRequest, ListConnectionManagerResult>;
}
/**
 * @generated from protobuf service api.AdminConnectionService
 */
export class AdminConnectionServiceClient implements IAdminConnectionServiceClient, ServiceInfo {
    typeName = AdminConnectionService.typeName;
    methods = AdminConnectionService.methods;
    options = AdminConnectionService.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: RegisterConnectionManager(api.RegisterConnectionManagerRequest) returns (api.RegisterConnectionManagerResult);
     */
    registerConnectionManager(input: RegisterConnectionManagerRequest, options?: RpcOptions): UnaryCall<RegisterConnectionManagerRequest, RegisterConnectionManagerResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<RegisterConnectionManagerRequest, RegisterConnectionManagerResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: ListConnectionManager(api.ListConnectionManagerRequest) returns (api.ListConnectionManagerResult);
     */
    listConnectionManager(input: ListConnectionManagerRequest, options?: RpcOptions): UnaryCall<ListConnectionManagerRequest, ListConnectionManagerResult> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<ListConnectionManagerRequest, ListConnectionManagerResult>("unary", this._transport, method, opt, input);
    }
}
