import type { ClientErrorLog } from '@/types/errors';
declare class LogService {
    private queue;
    private recentErrors;
    private isProcessing;
    private batchSize;
    private batchDelay;
    logError(error: Error | string, component?: string, metadata?: Record<string, unknown>): Promise<void>;
    logCritical(error: Error | string, component?: string, metadata?: Record<string, unknown>): Promise<string | null>;
    getRecentErrors(): Array<ClientErrorLog & {
        timestamp: Date;
    }>;
    clearRecentErrors(): void;
    private storeRecentError;
    logEvent(event: string, category: string, data?: Record<string, unknown>): Promise<void>;
    private processQueue;
    private sendError;
    private sendErrorWithResponse;
    private sendEvent;
}
export declare const logService: LogService;
export {};
//# sourceMappingURL=logService.d.ts.map