export interface ErrorContext {
    url: string;
    timestamp: Date;
    screenshot?: string;
    recentErrors: Array<{
        message: string;
        stack?: string;
        url?: string;
        component?: string;
        level?: string;
        timestamp: Date;
    }>;
    browserInfo: {
        userAgent: string;
        language: string;
        platform: string;
        screenWidth: number;
        screenHeight: number;
    };
}
declare class ErrorContextService {
    captureContext(): Promise<ErrorContext>;
    private captureScreenshot;
    private recompressScreenshot;
    saveContext(context: ErrorContext): void;
    loadContext(): ErrorContext | null;
    clearContext(): void;
    formatErrorsForDescription(errors: ErrorContext['recentErrors']): string;
}
export declare const errorContextService: ErrorContextService;
export {};
//# sourceMappingURL=errorContextService.d.ts.map