/** * 🏁 Final Comprehensive Local Test - Cron Log Service * * This test demonstrates the complete functionality of the logstack * with local file storage, including: * - Real-time API logs processing from database * - High-performance batch processing for large datasets * - Local file storage with organized directory structure * - Performance monitoring and optimization * - Complete end-to-end testing */ import { Config } from '../types/config'; declare const localConfig: Config; declare function generateSampleApiLogs(count?: number): Promise<{ request_time: Date; response_time: Date; method: string; path: string; requestBody: { data: string; userId: number; timestamp: string; } | undefined; requestHeaders: { 'content-type': string; 'user-agent': string; authorization: string; }; responseStatus: number; responseBody: { success: boolean; message: string; data: { id: number; } | null; }; requestQuery: { q: string; limit: number; } | { q?: undefined; limit?: undefined; }; requestParams: { id: number; }; client_ip: string; client_agent: string; }[]>; declare function processApiLogsBatch(startDate: Date, endDate: Date, batchSize?: number): Promise; declare function streamProcessApiLogs(): Promise; declare function generateAnalyticsReport(): Promise; declare function runFinalLocalTest(): Promise; export { localConfig, generateSampleApiLogs, processApiLogsBatch, streamProcessApiLogs, generateAnalyticsReport, runFinalLocalTest };