import * as interfaces from '../dist_ts_interfaces/index.js';
/**
 * Store for TypedRequest traffic logs
 * Keeps recent request/response logs in memory for dashboard display
 */
export declare class RequestLogStore {
    private logs;
    private maxEntries;
    private stats;
    private totalDuration;
    private durationCount;
    constructor(maxEntries?: number);
    /**
     * Add a new log entry
     * Rejects entries for serviceworker_* methods to prevent pollution from SW internal messages
     */
    addEntry(entry: interfaces.serviceworker.ITypedRequestLogEntry): void;
    /**
     * Check if an entry has nested serviceworker_* methods in its payload (corruption from old loops)
     */
    private hasNestedServiceworkerPayload;
    /**
     * Update statistics based on new entry
     */
    private updateStats;
    /**
     * Get log entries with optional filters
     */
    getEntries(options?: {
        limit?: number;
        method?: string;
        since?: number;
        before?: number;
    }): interfaces.serviceworker.ITypedRequestLogEntry[];
    /**
     * Get total count of entries (for pagination)
     */
    getTotalCount(options?: {
        method?: string;
        since?: number;
    }): number;
    /**
     * Get statistics
     */
    getStats(): interfaces.serviceworker.ITypedRequestStats;
    /**
     * Clear all logs and reset stats
     */
    clear(): void;
    /**
     * Get unique method names
     */
    getMethods(): string[];
}
/**
 * Get the singleton RequestLogStore instance
 */
export declare function getRequestLogStore(): RequestLogStore;
