/** * @interface DatabaseCoordinatorConfig * @description Configuration for the GCP Database Coordinator. */ export interface DatabaseCoordinatorConfig { projectID: string; cloudSQLInstance?: string; spannerInstance?: string; firestoreCollection?: string; bigQueryDataset?: string; bigtableInstance?: string; } /** * @interface DatabaseCoordinatorOperations * @description Defines operations for coordinating across GCP database services. */ export interface DatabaseCoordinatorOperations { syncAgentState(agentId: string, state: any): Promise; getAgentCoordinationData(agentId: string): Promise; logPerformanceMetrics(metrics: any): Promise; runAnalyticsQuery(query: string): Promise; storeHiveLog(logEntry: any): Promise; } /** * @class DatabaseCoordinator * @description Orchestrates data operations across Google Cloud SQL, Cloud Spanner, Firestore, BigQuery, and Cloud Bigtable. */ export declare class DatabaseCoordinator implements DatabaseCoordinatorOperations { private config; private logger; constructor(config: DatabaseCoordinatorConfig); /** * Synchronizes agent state across relevant databases (e.g., Cloud SQL for primary state, Firestore for real-time updates). * @param {string} agentId The ID of the agent. * @param {any} state The agent's state to synchronize. * @returns {Promise} */ syncAgentState(agentId: string, state: any): Promise; /** * Retrieves agent coordination data from relevant databases (e.g., Cloud Spanner for global consistency). * @param {string} agentId The ID of the agent. * @returns {Promise} The agent's coordination data. */ getAgentCoordinationData(agentId: string): Promise; /** * Logs performance metrics to a high-performance database (e.g., Cloud Bigtable). * @param {any} metrics The performance metrics to log. * @returns {Promise} */ logPerformanceMetrics(metrics: any): Promise; /** * Runs an analytics query on BigQuery. * @param {string} query The BigQuery SQL query. * @returns {Promise} The query results. */ runAnalyticsQuery(query: string): Promise; /** * Stores hive-mind log entries. * @param {any} logEntry The log entry to store. * @returns {Promise} */ storeHiveLog(logEntry: any): Promise; } //# sourceMappingURL=database-coordinator.d.ts.map