// package: event_store.client.server_features // file: serverfeatures.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as serverfeatures_pb from "./serverfeatures_pb"; import * as shared_pb from "./shared_pb"; interface IServerFeaturesService extends grpc.ServiceDefinition { getSupportedMethods: IServerFeaturesService_IGetSupportedMethods; } interface IServerFeaturesService_IGetSupportedMethods extends grpc.MethodDefinition { path: "/event_store.client.server_features.ServerFeatures/GetSupportedMethods"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const ServerFeaturesService: IServerFeaturesService; export interface IServerFeaturesServer extends grpc.UntypedServiceImplementation { getSupportedMethods: grpc.handleUnaryCall; } export interface IServerFeaturesClient { getSupportedMethods(request: shared_pb.Empty, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; getSupportedMethods(request: shared_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; getSupportedMethods(request: shared_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; } export class ServerFeaturesClient extends grpc.Client implements IServerFeaturesClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public getSupportedMethods(request: shared_pb.Empty, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; public getSupportedMethods(request: shared_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; public getSupportedMethods(request: shared_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: serverfeatures_pb.SupportedMethods) => void): grpc.ClientUnaryCall; }