@wundr.io/mcp-registry 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,663 @@
1
+ /**
2
+ * @wundr.io/mcp-registry - Type Definitions
3
+ *
4
+ * TypeScript interfaces for MCP server registration, health status,
5
+ * tool results, and the Super MCP aggregator pattern.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ import { z } from 'zod';
10
+ /**
11
+ * Supported MCP transport types
12
+ */
13
+ export type TransportType = 'stdio' | 'http' | 'websocket' | 'ipc';
14
+ /**
15
+ * Server capability categories
16
+ */
17
+ export type CapabilityCategory = 'tools' | 'resources' | 'prompts' | 'logging' | 'sampling' | 'experimental';
18
+ /**
19
+ * MCP Server capability definition
20
+ */
21
+ export interface MCPCapability {
22
+ /** Capability category */
23
+ readonly category: CapabilityCategory;
24
+ /** Capability name */
25
+ readonly name: string;
26
+ /** Human-readable description */
27
+ readonly description?: string;
28
+ /** Whether the capability is enabled */
29
+ readonly enabled: boolean;
30
+ /** Additional capability metadata */
31
+ readonly metadata?: Record<string, unknown>;
32
+ }
33
+ /**
34
+ * Tool definition within a server registration
35
+ */
36
+ export interface ToolDefinition {
37
+ /** Tool name (unique within server) */
38
+ readonly name: string;
39
+ /** Human-readable description */
40
+ readonly description: string;
41
+ /** JSON Schema for tool input */
42
+ readonly inputSchema: ToolInputSchema;
43
+ /** Tool category for organization */
44
+ readonly category?: string;
45
+ /** Tags for discovery */
46
+ readonly tags?: readonly string[];
47
+ }
48
+ /**
49
+ * JSON Schema for tool input parameters
50
+ */
51
+ export interface ToolInputSchema {
52
+ readonly type: 'object';
53
+ readonly properties?: Record<string, JsonSchemaProperty>;
54
+ readonly required?: readonly string[];
55
+ readonly additionalProperties?: boolean;
56
+ }
57
+ /**
58
+ * JSON Schema property definition
59
+ */
60
+ export interface JsonSchemaProperty {
61
+ readonly type?: string | readonly string[];
62
+ readonly description?: string;
63
+ readonly enum?: readonly unknown[];
64
+ readonly default?: unknown;
65
+ readonly items?: JsonSchemaProperty;
66
+ readonly properties?: Record<string, JsonSchemaProperty>;
67
+ readonly required?: readonly string[];
68
+ readonly minimum?: number;
69
+ readonly maximum?: number;
70
+ readonly minLength?: number;
71
+ readonly maxLength?: number;
72
+ readonly pattern?: string;
73
+ readonly format?: string;
74
+ }
75
+ /**
76
+ * Resource definition within a server registration
77
+ */
78
+ export interface ResourceDefinition {
79
+ /** Resource URI pattern */
80
+ readonly uri: string;
81
+ /** Human-readable name */
82
+ readonly name: string;
83
+ /** Resource description */
84
+ readonly description?: string;
85
+ /** MIME type */
86
+ readonly mimeType?: string;
87
+ /** Whether resource supports subscriptions */
88
+ readonly subscribable?: boolean;
89
+ }
90
+ /**
91
+ * Prompt definition within a server registration
92
+ */
93
+ export interface PromptDefinition {
94
+ /** Prompt name */
95
+ readonly name: string;
96
+ /** Prompt description */
97
+ readonly description?: string;
98
+ /** Prompt arguments */
99
+ readonly arguments?: readonly PromptArgument[];
100
+ }
101
+ /**
102
+ * Prompt argument definition
103
+ */
104
+ export interface PromptArgument {
105
+ /** Argument name */
106
+ readonly name: string;
107
+ /** Argument description */
108
+ readonly description?: string;
109
+ /** Whether argument is required */
110
+ readonly required?: boolean;
111
+ }
112
+ /**
113
+ * Transport configuration for connecting to an MCP server
114
+ */
115
+ export interface TransportConfig {
116
+ /** Transport type */
117
+ readonly type: TransportType;
118
+ /** Command to start the server (for stdio) */
119
+ readonly command?: string;
120
+ /** Command arguments */
121
+ readonly args?: readonly string[];
122
+ /** Environment variables */
123
+ readonly env?: Record<string, string>;
124
+ /** Working directory */
125
+ readonly cwd?: string;
126
+ /** HTTP/WebSocket endpoint URL */
127
+ readonly url?: string;
128
+ /** Connection timeout in milliseconds */
129
+ readonly timeout?: number;
130
+ /** Whether to auto-reconnect on failure */
131
+ readonly autoReconnect?: boolean;
132
+ /** Reconnection delay in milliseconds */
133
+ readonly reconnectDelay?: number;
134
+ /** Maximum reconnection attempts */
135
+ readonly maxReconnectAttempts?: number;
136
+ }
137
+ /**
138
+ * Complete MCP server registration
139
+ */
140
+ export interface MCPServerRegistration {
141
+ /** Unique server identifier */
142
+ readonly id: string;
143
+ /** Server name */
144
+ readonly name: string;
145
+ /** Server version */
146
+ readonly version: string;
147
+ /** Server description */
148
+ readonly description?: string;
149
+ /** Transport configuration */
150
+ readonly transport: TransportConfig;
151
+ /** Server capabilities */
152
+ readonly capabilities: readonly MCPCapability[];
153
+ /** Available tools */
154
+ readonly tools: readonly ToolDefinition[];
155
+ /** Available resources */
156
+ readonly resources: readonly ResourceDefinition[];
157
+ /** Available prompts */
158
+ readonly prompts: readonly PromptDefinition[];
159
+ /** Server priority (higher = preferred) */
160
+ readonly priority?: number;
161
+ /** Server tags for discovery */
162
+ readonly tags?: readonly string[];
163
+ /** Registration timestamp */
164
+ readonly registeredAt: Date;
165
+ /** Last updated timestamp */
166
+ readonly updatedAt: Date;
167
+ /** Server metadata */
168
+ readonly metadata?: Record<string, unknown>;
169
+ }
170
+ /**
171
+ * Options for registering a new server
172
+ */
173
+ export interface ServerRegistrationOptions {
174
+ /** Server name */
175
+ name: string;
176
+ /** Server version */
177
+ version: string;
178
+ /** Server description */
179
+ description?: string;
180
+ /** Transport configuration */
181
+ transport: TransportConfig;
182
+ /** Server priority */
183
+ priority?: number;
184
+ /** Server tags */
185
+ tags?: string[];
186
+ /** Server metadata */
187
+ metadata?: Record<string, unknown>;
188
+ }
189
+ /**
190
+ * Health status levels
191
+ */
192
+ export type HealthLevel = 'healthy' | 'degraded' | 'unhealthy' | 'unknown';
193
+ /**
194
+ * Health check result for a single check
195
+ */
196
+ export interface HealthCheckResult {
197
+ /** Check name */
198
+ readonly name: string;
199
+ /** Health level */
200
+ readonly status: HealthLevel;
201
+ /** Human-readable message */
202
+ readonly message?: string;
203
+ /** Check duration in milliseconds */
204
+ readonly durationMs: number;
205
+ /** Check timestamp */
206
+ readonly timestamp: Date;
207
+ /** Additional check data */
208
+ readonly data?: Record<string, unknown>;
209
+ }
210
+ /**
211
+ * Comprehensive health status for an MCP server
212
+ */
213
+ export interface HealthStatus {
214
+ /** Server ID */
215
+ readonly serverId: string;
216
+ /** Overall health level */
217
+ readonly status: HealthLevel;
218
+ /** Connection status */
219
+ readonly connected: boolean;
220
+ /** Last successful ping timestamp */
221
+ readonly lastPing?: Date;
222
+ /** Current latency in milliseconds */
223
+ readonly latencyMs?: number;
224
+ /** Average latency over monitoring window */
225
+ readonly avgLatencyMs?: number;
226
+ /** Number of consecutive failures */
227
+ readonly consecutiveFailures: number;
228
+ /** Total request count */
229
+ readonly totalRequests: number;
230
+ /** Successful request count */
231
+ readonly successfulRequests: number;
232
+ /** Error rate (0-1) */
233
+ readonly errorRate: number;
234
+ /** Individual health check results */
235
+ readonly checks: readonly HealthCheckResult[];
236
+ /** Last status update timestamp */
237
+ readonly updatedAt: Date;
238
+ /** Health status metadata */
239
+ readonly metadata?: Record<string, unknown>;
240
+ }
241
+ /**
242
+ * Health monitoring configuration
243
+ */
244
+ export interface HealthMonitorConfig {
245
+ /** Health check interval in milliseconds */
246
+ checkInterval?: number;
247
+ /** Ping timeout in milliseconds */
248
+ pingTimeout?: number;
249
+ /** Number of failures before marking unhealthy */
250
+ failureThreshold?: number;
251
+ /** Number of successes to recover from unhealthy */
252
+ recoveryThreshold?: number;
253
+ /** Latency threshold for degraded status (ms) */
254
+ degradedLatencyThreshold?: number;
255
+ /** Enable automatic reconnection */
256
+ autoReconnect?: boolean;
257
+ /** Maximum reconnection attempts */
258
+ maxReconnectAttempts?: number;
259
+ }
260
+ /**
261
+ * Text content in tool results
262
+ */
263
+ export interface TextContent {
264
+ readonly type: 'text';
265
+ readonly text: string;
266
+ }
267
+ /**
268
+ * Image content in tool results
269
+ */
270
+ export interface ImageContent {
271
+ readonly type: 'image';
272
+ readonly data: string;
273
+ readonly mimeType: string;
274
+ }
275
+ /**
276
+ * Embedded resource content in tool results
277
+ */
278
+ export interface EmbeddedResourceContent {
279
+ readonly type: 'resource';
280
+ readonly resource: {
281
+ readonly uri: string;
282
+ readonly mimeType?: string;
283
+ readonly text?: string;
284
+ readonly blob?: string;
285
+ };
286
+ }
287
+ /**
288
+ * Union type for all tool content types
289
+ */
290
+ export type ToolContentItem = TextContent | ImageContent | EmbeddedResourceContent;
291
+ /**
292
+ * Result from a tool invocation
293
+ */
294
+ export interface ToolResult {
295
+ /** Result content items */
296
+ readonly content: readonly ToolContentItem[];
297
+ /** Whether the result represents an error */
298
+ readonly isError?: boolean;
299
+ /** Execution duration in milliseconds */
300
+ readonly durationMs?: number;
301
+ /** Server that executed the tool */
302
+ readonly serverId?: string;
303
+ /** Tool name that was executed */
304
+ readonly toolName?: string;
305
+ /** Result metadata */
306
+ readonly metadata?: Record<string, unknown>;
307
+ }
308
+ /**
309
+ * Tool invocation request
310
+ */
311
+ export interface ToolInvocationRequest {
312
+ /** Tool name */
313
+ readonly name: string;
314
+ /** Tool arguments */
315
+ readonly arguments?: Record<string, unknown>;
316
+ /** Optional timeout override (ms) */
317
+ readonly timeout?: number;
318
+ /** Optional server preference */
319
+ readonly preferredServer?: string;
320
+ /** Request metadata */
321
+ readonly metadata?: Record<string, unknown>;
322
+ }
323
+ /**
324
+ * Tool invocation response with routing info
325
+ */
326
+ export interface ToolInvocationResponse {
327
+ /** Tool result */
328
+ readonly result: ToolResult;
329
+ /** Server that handled the request */
330
+ readonly serverId: string;
331
+ /** Request latency in milliseconds */
332
+ readonly latencyMs: number;
333
+ /** Whether request was retried */
334
+ readonly retried: boolean;
335
+ /** Number of retry attempts */
336
+ readonly retryAttempts: number;
337
+ }
338
+ /**
339
+ * Capability query for server discovery
340
+ */
341
+ export interface CapabilityQuery {
342
+ /** Required capability category */
343
+ readonly category?: CapabilityCategory;
344
+ /** Required capability names */
345
+ readonly capabilities?: readonly string[];
346
+ /** Required tool names */
347
+ readonly tools?: readonly string[];
348
+ /** Required tags */
349
+ readonly tags?: readonly string[];
350
+ /** Minimum priority */
351
+ readonly minPriority?: number;
352
+ /** Health status requirement */
353
+ readonly healthStatus?: HealthLevel | readonly HealthLevel[];
354
+ }
355
+ /**
356
+ * Server discovery result
357
+ */
358
+ export interface DiscoveryResult {
359
+ /** Matching servers */
360
+ readonly servers: readonly MCPServerRegistration[];
361
+ /** Query that produced this result */
362
+ readonly query: CapabilityQuery;
363
+ /** Discovery timestamp */
364
+ readonly timestamp: Date;
365
+ /** Total servers searched */
366
+ readonly totalSearched: number;
367
+ /** Number of matches found */
368
+ readonly matchCount: number;
369
+ }
370
+ /**
371
+ * Routing strategy for the aggregator
372
+ */
373
+ export type RoutingStrategy = 'priority' | 'round-robin' | 'least-latency' | 'random' | 'health-aware';
374
+ /**
375
+ * Aggregator configuration
376
+ */
377
+ export interface AggregatorConfig {
378
+ /** Default routing strategy */
379
+ defaultStrategy?: RoutingStrategy;
380
+ /** Request timeout in milliseconds */
381
+ requestTimeout?: number;
382
+ /** Enable request retries */
383
+ enableRetries?: boolean;
384
+ /** Maximum retry attempts */
385
+ maxRetries?: number;
386
+ /** Retry delay in milliseconds */
387
+ retryDelay?: number;
388
+ /** Enable circuit breaker */
389
+ enableCircuitBreaker?: boolean;
390
+ /** Circuit breaker failure threshold */
391
+ circuitBreakerThreshold?: number;
392
+ /** Circuit breaker reset timeout (ms) */
393
+ circuitBreakerResetTimeout?: number;
394
+ /** Health monitoring configuration */
395
+ healthMonitor?: HealthMonitorConfig;
396
+ }
397
+ /**
398
+ * Circuit breaker state
399
+ */
400
+ export type CircuitBreakerState = 'closed' | 'open' | 'half-open';
401
+ /**
402
+ * Circuit breaker status for a server
403
+ */
404
+ export interface CircuitBreakerStatus {
405
+ /** Server ID */
406
+ readonly serverId: string;
407
+ /** Current state */
408
+ readonly state: CircuitBreakerState;
409
+ /** Failure count in current window */
410
+ readonly failureCount: number;
411
+ /** Last failure timestamp */
412
+ readonly lastFailure?: Date;
413
+ /** Time until circuit closes (ms) */
414
+ readonly timeUntilClose?: number;
415
+ }
416
+ /**
417
+ * Registry event types
418
+ */
419
+ export type RegistryEventType = 'server:registered' | 'server:unregistered' | 'server:updated' | 'server:connected' | 'server:disconnected' | 'server:health-changed' | 'tool:added' | 'tool:removed' | 'capability:changed';
420
+ /**
421
+ * Registry event payload
422
+ */
423
+ export interface RegistryEvent {
424
+ /** Event type */
425
+ readonly type: RegistryEventType;
426
+ /** Server ID (if applicable) */
427
+ readonly serverId?: string;
428
+ /** Event data */
429
+ readonly data?: Record<string, unknown>;
430
+ /** Event timestamp */
431
+ readonly timestamp: Date;
432
+ }
433
+ /**
434
+ * Transport type schema
435
+ */
436
+ export declare const TransportTypeSchema: z.ZodEnum<["stdio", "http", "websocket", "ipc"]>;
437
+ /**
438
+ * Transport configuration schema
439
+ */
440
+ export declare const TransportConfigSchema: z.ZodObject<{
441
+ type: z.ZodEnum<["stdio", "http", "websocket", "ipc"]>;
442
+ command: z.ZodOptional<z.ZodString>;
443
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
444
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
445
+ cwd: z.ZodOptional<z.ZodString>;
446
+ url: z.ZodOptional<z.ZodString>;
447
+ timeout: z.ZodOptional<z.ZodNumber>;
448
+ autoReconnect: z.ZodOptional<z.ZodBoolean>;
449
+ reconnectDelay: z.ZodOptional<z.ZodNumber>;
450
+ maxReconnectAttempts: z.ZodOptional<z.ZodNumber>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ type: "stdio" | "http" | "websocket" | "ipc";
453
+ command?: string | undefined;
454
+ args?: string[] | undefined;
455
+ env?: Record<string, string> | undefined;
456
+ cwd?: string | undefined;
457
+ url?: string | undefined;
458
+ timeout?: number | undefined;
459
+ autoReconnect?: boolean | undefined;
460
+ reconnectDelay?: number | undefined;
461
+ maxReconnectAttempts?: number | undefined;
462
+ }, {
463
+ type: "stdio" | "http" | "websocket" | "ipc";
464
+ command?: string | undefined;
465
+ args?: string[] | undefined;
466
+ env?: Record<string, string> | undefined;
467
+ cwd?: string | undefined;
468
+ url?: string | undefined;
469
+ timeout?: number | undefined;
470
+ autoReconnect?: boolean | undefined;
471
+ reconnectDelay?: number | undefined;
472
+ maxReconnectAttempts?: number | undefined;
473
+ }>;
474
+ /**
475
+ * Server registration options schema
476
+ */
477
+ export declare const ServerRegistrationOptionsSchema: z.ZodObject<{
478
+ name: z.ZodString;
479
+ version: z.ZodString;
480
+ description: z.ZodOptional<z.ZodString>;
481
+ transport: z.ZodObject<{
482
+ type: z.ZodEnum<["stdio", "http", "websocket", "ipc"]>;
483
+ command: z.ZodOptional<z.ZodString>;
484
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
485
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
486
+ cwd: z.ZodOptional<z.ZodString>;
487
+ url: z.ZodOptional<z.ZodString>;
488
+ timeout: z.ZodOptional<z.ZodNumber>;
489
+ autoReconnect: z.ZodOptional<z.ZodBoolean>;
490
+ reconnectDelay: z.ZodOptional<z.ZodNumber>;
491
+ maxReconnectAttempts: z.ZodOptional<z.ZodNumber>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ type: "stdio" | "http" | "websocket" | "ipc";
494
+ command?: string | undefined;
495
+ args?: string[] | undefined;
496
+ env?: Record<string, string> | undefined;
497
+ cwd?: string | undefined;
498
+ url?: string | undefined;
499
+ timeout?: number | undefined;
500
+ autoReconnect?: boolean | undefined;
501
+ reconnectDelay?: number | undefined;
502
+ maxReconnectAttempts?: number | undefined;
503
+ }, {
504
+ type: "stdio" | "http" | "websocket" | "ipc";
505
+ command?: string | undefined;
506
+ args?: string[] | undefined;
507
+ env?: Record<string, string> | undefined;
508
+ cwd?: string | undefined;
509
+ url?: string | undefined;
510
+ timeout?: number | undefined;
511
+ autoReconnect?: boolean | undefined;
512
+ reconnectDelay?: number | undefined;
513
+ maxReconnectAttempts?: number | undefined;
514
+ }>;
515
+ priority: z.ZodOptional<z.ZodNumber>;
516
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
517
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
518
+ }, "strip", z.ZodTypeAny, {
519
+ name: string;
520
+ version: string;
521
+ transport: {
522
+ type: "stdio" | "http" | "websocket" | "ipc";
523
+ command?: string | undefined;
524
+ args?: string[] | undefined;
525
+ env?: Record<string, string> | undefined;
526
+ cwd?: string | undefined;
527
+ url?: string | undefined;
528
+ timeout?: number | undefined;
529
+ autoReconnect?: boolean | undefined;
530
+ reconnectDelay?: number | undefined;
531
+ maxReconnectAttempts?: number | undefined;
532
+ };
533
+ priority?: number | undefined;
534
+ description?: string | undefined;
535
+ tags?: string[] | undefined;
536
+ metadata?: Record<string, unknown> | undefined;
537
+ }, {
538
+ name: string;
539
+ version: string;
540
+ transport: {
541
+ type: "stdio" | "http" | "websocket" | "ipc";
542
+ command?: string | undefined;
543
+ args?: string[] | undefined;
544
+ env?: Record<string, string> | undefined;
545
+ cwd?: string | undefined;
546
+ url?: string | undefined;
547
+ timeout?: number | undefined;
548
+ autoReconnect?: boolean | undefined;
549
+ reconnectDelay?: number | undefined;
550
+ maxReconnectAttempts?: number | undefined;
551
+ };
552
+ priority?: number | undefined;
553
+ description?: string | undefined;
554
+ tags?: string[] | undefined;
555
+ metadata?: Record<string, unknown> | undefined;
556
+ }>;
557
+ /**
558
+ * Tool invocation request schema
559
+ */
560
+ export declare const ToolInvocationRequestSchema: z.ZodObject<{
561
+ name: z.ZodString;
562
+ arguments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
563
+ timeout: z.ZodOptional<z.ZodNumber>;
564
+ preferredServer: z.ZodOptional<z.ZodString>;
565
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ name: string;
568
+ timeout?: number | undefined;
569
+ metadata?: Record<string, unknown> | undefined;
570
+ arguments?: Record<string, unknown> | undefined;
571
+ preferredServer?: string | undefined;
572
+ }, {
573
+ name: string;
574
+ timeout?: number | undefined;
575
+ metadata?: Record<string, unknown> | undefined;
576
+ arguments?: Record<string, unknown> | undefined;
577
+ preferredServer?: string | undefined;
578
+ }>;
579
+ /**
580
+ * Capability query schema
581
+ */
582
+ export declare const CapabilityQuerySchema: z.ZodObject<{
583
+ category: z.ZodOptional<z.ZodEnum<["tools", "resources", "prompts", "logging", "sampling", "experimental"]>>;
584
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
585
+ tools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
586
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
587
+ minPriority: z.ZodOptional<z.ZodNumber>;
588
+ healthStatus: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["healthy", "degraded", "unhealthy", "unknown"]>, z.ZodArray<z.ZodEnum<["healthy", "degraded", "unhealthy", "unknown"]>, "many">]>>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ tools?: string[] | undefined;
591
+ tags?: string[] | undefined;
592
+ category?: "tools" | "resources" | "prompts" | "logging" | "sampling" | "experimental" | undefined;
593
+ capabilities?: string[] | undefined;
594
+ minPriority?: number | undefined;
595
+ healthStatus?: "healthy" | "degraded" | "unhealthy" | "unknown" | ("healthy" | "degraded" | "unhealthy" | "unknown")[] | undefined;
596
+ }, {
597
+ tools?: string[] | undefined;
598
+ tags?: string[] | undefined;
599
+ category?: "tools" | "resources" | "prompts" | "logging" | "sampling" | "experimental" | undefined;
600
+ capabilities?: string[] | undefined;
601
+ minPriority?: number | undefined;
602
+ healthStatus?: "healthy" | "degraded" | "unhealthy" | "unknown" | ("healthy" | "degraded" | "unhealthy" | "unknown")[] | undefined;
603
+ }>;
604
+ /**
605
+ * Aggregator configuration schema
606
+ */
607
+ export declare const AggregatorConfigSchema: z.ZodObject<{
608
+ defaultStrategy: z.ZodOptional<z.ZodEnum<["priority", "round-robin", "least-latency", "random", "health-aware"]>>;
609
+ requestTimeout: z.ZodOptional<z.ZodNumber>;
610
+ enableRetries: z.ZodOptional<z.ZodBoolean>;
611
+ maxRetries: z.ZodOptional<z.ZodNumber>;
612
+ retryDelay: z.ZodOptional<z.ZodNumber>;
613
+ enableCircuitBreaker: z.ZodOptional<z.ZodBoolean>;
614
+ circuitBreakerThreshold: z.ZodOptional<z.ZodNumber>;
615
+ circuitBreakerResetTimeout: z.ZodOptional<z.ZodNumber>;
616
+ }, "strip", z.ZodTypeAny, {
617
+ defaultStrategy?: "priority" | "round-robin" | "least-latency" | "random" | "health-aware" | undefined;
618
+ requestTimeout?: number | undefined;
619
+ enableRetries?: boolean | undefined;
620
+ maxRetries?: number | undefined;
621
+ retryDelay?: number | undefined;
622
+ enableCircuitBreaker?: boolean | undefined;
623
+ circuitBreakerThreshold?: number | undefined;
624
+ circuitBreakerResetTimeout?: number | undefined;
625
+ }, {
626
+ defaultStrategy?: "priority" | "round-robin" | "least-latency" | "random" | "health-aware" | undefined;
627
+ requestTimeout?: number | undefined;
628
+ enableRetries?: boolean | undefined;
629
+ maxRetries?: number | undefined;
630
+ retryDelay?: number | undefined;
631
+ enableCircuitBreaker?: boolean | undefined;
632
+ circuitBreakerThreshold?: number | undefined;
633
+ circuitBreakerResetTimeout?: number | undefined;
634
+ }>;
635
+ /**
636
+ * Health monitor configuration schema
637
+ */
638
+ export declare const HealthMonitorConfigSchema: z.ZodObject<{
639
+ checkInterval: z.ZodOptional<z.ZodNumber>;
640
+ pingTimeout: z.ZodOptional<z.ZodNumber>;
641
+ failureThreshold: z.ZodOptional<z.ZodNumber>;
642
+ recoveryThreshold: z.ZodOptional<z.ZodNumber>;
643
+ degradedLatencyThreshold: z.ZodOptional<z.ZodNumber>;
644
+ autoReconnect: z.ZodOptional<z.ZodBoolean>;
645
+ maxReconnectAttempts: z.ZodOptional<z.ZodNumber>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ autoReconnect?: boolean | undefined;
648
+ maxReconnectAttempts?: number | undefined;
649
+ checkInterval?: number | undefined;
650
+ pingTimeout?: number | undefined;
651
+ failureThreshold?: number | undefined;
652
+ recoveryThreshold?: number | undefined;
653
+ degradedLatencyThreshold?: number | undefined;
654
+ }, {
655
+ autoReconnect?: boolean | undefined;
656
+ maxReconnectAttempts?: number | undefined;
657
+ checkInterval?: number | undefined;
658
+ pingTimeout?: number | undefined;
659
+ failureThreshold?: number | undefined;
660
+ recoveryThreshold?: number | undefined;
661
+ degradedLatencyThreshold?: number | undefined;
662
+ }>;
663
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,GAAG,KAAK,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,WAAW,GACX,SAAS,GACT,SAAS,GACT,UAAU,GACV,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,0BAA0B;IAC1B,QAAQ,CAAC,QAAQ,EAAE,kBAAkB,CAAC;IACtC,sBAAsB;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,wCAAwC;IACxC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,qCAAqC;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,uCAAuC;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,iCAAiC;IACjC,QAAQ,CAAC,WAAW,EAAE,eAAe,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