/** * High-Performance Time Series Ingestion Engine * * Handles ingestion of time series data at scale with features like: * - Batch processing and streaming ingestion * - Write-ahead logging for durability * - Deduplication and validation * - Protocol adapters (Prometheus, InfluxDB, StatsD) * - Backpressure handling * - Real-time metrics and monitoring */ import type { TimeSeriesPoint } from '../../../types/timeseries'; import type { IngestionEngine, IngestionConfig, StreamOptions, IngestionStats, TimeSeriesStorageAdapter } from '../interfaces'; export declare class TimeSeriesIngestionEngine implements IngestionEngine { private config; private storageAdapter; private writeBuffer; private flushTimer; private stats; private writeAheadLog; private deduplicationCache; private pendingBatches; constructor(config: IngestionConfig, storageAdapter: TimeSeriesStorageAdapter); private initializeStats; private startFlushTimer; writePoint(point: TimeSeriesPoint): Promise; writeBatch(points: TimeSeriesPoint[]): Promise; createWriteStream(): WritableStream; createIngestionStream(options?: StreamOptions): Promise>; writePrometheusMetrics(metrics: string): Promise; writeInfluxDBLine(line: string): Promise; writeStatsD(metric: string): Promise; getIngestionStats(): Promise; private validatePoint; private isDuplicate; private generatePointKey; private flushBuffer; private processBatch; private updateBufferUtilization; private waitForBatchCapacity; private parsePrometheusMetrics; private parsePrometheusLine; private parseInfluxDBLine; private parseInfluxDBSingleLine; private parseStatsDMetric; close(): Promise; } //# sourceMappingURL=ingestion-engine.d.ts.map