/** * Edge Configuration Code Generator Utilities * Provides utilities for code generators to use edge/connectivity configurations */ export interface EdgeConfig { edgeType?: string; protocol?: string; transport?: 'sync' | 'async' | 'streaming'; config?: { timeout?: number; retry?: { maxAttempts?: number; strategy?: 'exponential' | 'linear' | 'fixed'; backoffMs?: number; }; circuitBreaker?: { enabled?: boolean; failureThreshold?: number; resetTimeoutMs?: number; }; authentication?: { type?: string; credentialRef?: { vault?: string; key?: string; }; }; loadBalancing?: { strategy?: string; endpoints?: string[]; }; [key: string]: any; }; } /** * Generate retry logic code from edge configuration */ export declare function generateRetryCode(edgeConfig: EdgeConfig, language: 'python' | 'nodejs' | 'java' | 'csharp' | 'go'): string; /** * Generate circuit breaker code from edge configuration */ export declare function generateCircuitBreakerCode(edgeConfig: EdgeConfig, language: 'python' | 'nodejs' | 'java' | 'csharp' | 'go'): string; /** * Generate HTTP client code with edge configuration */ export declare function generateHttpClientCode(edgeConfig: EdgeConfig, url: string, method: string, language: 'python' | 'nodejs' | 'java' | 'csharp' | 'go'): string; /** * Get edge configuration for a specific edge */ export declare function getEdgeConfig(edges: any[], fromNodeId: string, toNodeId: string): EdgeConfig | null; /** * Apply edge configuration to code generation context */ export declare function applyEdgeConfigToContext(edges: any[], fromNodeId: string, toNodeId: string, context: Record): void; //# sourceMappingURL=edgeConfigCodeGenerator.d.ts.map