/**
 * In-memory log storage for querying
 */
import type { AggregationOptions, AggregationResult, LogEntry, LogQuery, QueryResult } from '../types.js';
/**
 * In-memory log storage for querying (in production, this would connect to a log database)
 */
export declare class LogStorage {
    private buffer;
    private indexManager;
    constructor(maxEntries?: number);
    /**
     * Add a log entry - O(1) instead of O(n)
     */
    addEntry(entry: LogEntry): void;
    /**
     * Query log entries
     */
    query(query: LogQuery): QueryResult;
    /**
     * Aggregate log entries
     */
    aggregate(options: AggregationOptions): AggregationResult;
    /**
     * Get entry count
     */
    getEntryCount(): number;
    /**
     * Clear all entries
     */
    clear(): void;
}
/**
 * Global log storage instance
 */
export declare const globalLogStorage: LogStorage;
//# sourceMappingURL=log-storage.d.ts.map