import { LogTransport, LogEntry, LogLevel, HTTPTransportOptions } from '../types'; /** * HTTP transport for sending logs to remote endpoints */ export declare class HTTPTransport implements LogTransport { name: string; level: LogLevel; private url; private headers; private timeout; private batchSize; private flushInterval; private retries; private batch; private flushTimer?; private isShuttingDown; constructor(options: HTTPTransportOptions); write(entry: LogEntry): Promise; /** * Starts the periodic flush timer */ private startFlushTimer; /** * Flushes the current batch to the HTTP endpoint */ private flushBatch; /** * Sends a batch of log entries to the HTTP endpoint */ private sendBatch; /** * Serializes a log entry for HTTP transmission */ private serializeEntry; /** * Sleep utility for retry delays */ private sleep; flush(): Promise; close(): Promise; /** * Gets the current batch size */ getCurrentBatchSize(): number; /** * Gets transport statistics */ getStats(): { batchSize: number; pendingLogs: number; isShuttingDown: boolean; }; } //# sourceMappingURL=http.d.ts.map