import type { NatsConnection, RequestManyOptions } from "@nats-io/nats-core"; import type { Service, ServiceClient, ServiceConfig } from "./types"; export type { Endpoint, EndpointInfo, EndpointOptions, EndpointStats, NamedEndpointStats, Service, ServiceClient, ServiceConfig, ServiceGroup, ServiceHandler, ServiceIdentity, ServiceInfo, ServiceMetadata, ServiceMsg, ServiceResponse, ServiceStats, } from "./types"; export { ServiceError, ServiceErrorCodeHeader, ServiceErrorHeader, ServiceResponseType, ServiceVerb, } from "./types"; export declare class Svcm { nc: NatsConnection; constructor(nc: NatsConnection); add(config: ServiceConfig): Promise; client(opts?: RequestManyOptions, prefix?: string): ServiceClient; }