export * from 'nice-grpc-common';

export * from './server/Server';
export * from './server/ServiceImplementation';

export {createChannel, waitForChannelReady} from './client/channel';
export {Channel, ChannelOptions, ChannelCredentials} from '@grpc/grpc-js';
export * from './client/ClientFactory';
export * from './client/Client';

export {
  ServiceDefinition,
  MethodDefinition,
  CompatServiceDefinition,
  NormalizedServiceDefinition,
} from './service-definitions';
export {TsProtoServiceDefinition} from './service-definitions/ts-proto';
export {ServiceDefinition as GrpcJsServiceDefinition} from '@grpc/grpc-js';
