import { PredictiveCoordinationSystem } from './predictive-system'; /** * @interface AdaptiveBalancingConfig * @description Configuration for the Adaptive Load Balancer. */ export interface AdaptiveBalancingConfig { projectID: string; } /** * @interface AdaptiveBalancingOperations * @description Defines operations for adaptive load balancing and scaling. */ export interface AdaptiveBalancingOperations { adjustWorkerAssignments(currentLoad: any, workerPool: any[]): Promise; triggerDynamicScaling(predictedDemand: any): Promise; distributeLoadGeographically(task: any, regions: string[]): Promise; balanceLoadCostAware(task: any, workerPool: any[]): Promise; ensureQoS(serviceMetrics: any): Promise; intelligentFailover(failedComponent: string): Promise; } /** * @class AdaptiveLoadBalancer * @description Implements real-time adjustment of worker assignments and dynamic scaling based on predicted demand. */ export declare class AdaptiveLoadBalancer implements AdaptiveBalancingOperations { private config; private logger; private predictiveSystem; constructor(config: AdaptiveBalancingConfig, predictiveSystem: PredictiveCoordinationSystem); /** * Adjusts worker assignments in real-time based on current load and worker metrics. * @param {any} currentLoad Current system load metrics. * @param {any[]} workerPool A list of available workers with their current status/load. * @returns {Promise} Recommended worker assignments. */ adjustWorkerAssignments(currentLoad: any, workerPool: any[]): Promise; /** * Triggers dynamic scaling based on predicted demand. * @param {any} predictedDemand Data representing the predicted future demand. * @returns {Promise} */ triggerDynamicScaling(predictedDemand: any): Promise; /** * Distributes load geographically across Google Cloud regions. * @param {any} task The task to distribute. * @param {string[]} regions A list of available GCP regions. * @returns {Promise} The ID of the region where the task is distributed. */ distributeLoadGeographically(task: any, regions: string[]): Promise; /** * Balances load with cost awareness. * @param {any} task The task to assign. * @param {any[]} workerPool A list of available workers with cost profiles. * @returns {Promise} The ID of the worker assigned based on cost optimization. */ balanceLoadCostAware(task: any, workerPool: any[]): Promise; /** * Ensures Quality of Service (QoS) guarantees with SLA monitoring. * @param {any} serviceMetrics Real-time service metrics. * @returns {Promise} True if QoS is met, false otherwise. */ ensureQoS(serviceMetrics: any): Promise; /** * Implements intelligent failover with minimal coordination disruption. * @param {string} failedComponent The component that failed. * @returns {Promise} */ intelligentFailover(failedComponent: string): Promise; } //# sourceMappingURL=adaptive-balancing.d.ts.map