/** * @interface GcpOperationsSuiteConfig * @description Configuration for GCP Operations Suite Integration. */ export interface GcpOperationsSuiteConfig { projectID: string; } /** * @interface GcpOperationsSuiteOperations * @description Defines operations for integrating with Google Cloud Operations Suite. */ export interface GcpOperationsSuiteOperations { log(level: 'info' | 'warn' | 'error' | 'debug', message: string, metadata?: any): Promise; recordMetric(metricName: string, value: number, labels?: { [key: string]: string; }): Promise; startTrace(traceName: string): any; endTrace(span: any): Promise; reportError(error: Error, context?: any): Promise; profileApplication(durationSeconds: number): Promise; } /** * @class GcpOperationsSuiteIntegration * @description Provides enterprise-grade monitoring and observability by integrating with Google Cloud Operations Suite. */ export declare class GcpOperationsSuiteIntegration implements GcpOperationsSuiteOperations { private config; private logger; constructor(config: GcpOperationsSuiteConfig); /** * Logs messages to Google Cloud Logging. * @param {'info' | 'warn' | 'error' | 'debug'} level The log level. * @param {string} message The log message. * @param {any} [metadata] Optional metadata to include with the log entry. * @returns {Promise} */ log(level: 'info' | 'warn' | 'error' | 'debug', message: string, metadata?: any): Promise; /** * Records custom metrics to Google Cloud Monitoring. * @param {string} metricName The name of the metric. * @param {number} value The value of the metric. * @param {{ [key: string]: string }} [labels] Optional labels for the metric. * @returns {Promise} */ recordMetric(metricName: string, value: number, labels?: { [key: string]: string; }): Promise; /** * Starts a trace span for distributed request tracing with Cloud Trace. * @param {string} traceName The name of the trace span. * @returns {any} A simulated trace span object. */ startTrace(traceName: string): any; /** * Ends a trace span and sends it to Cloud Trace. * @param {any} span The simulated trace span object. * @returns {Promise} */ endTrace(span: any): Promise; /** * Reports an error to Google Cloud Error Reporting. * @param {Error} error The error object to report. * @param {any} [context] Optional context for the error. * @returns {Promise} */ reportError(error: Error, context?: any): Promise; /** * Profiles the application performance using Cloud Profiler. * @param {number} durationSeconds The duration for which to profile. * @returns {Promise} The profiling results. */ profileApplication(durationSeconds: number): Promise; } //# sourceMappingURL=gcp-operations-suite-integration.d.ts.map