import { ErrorInfo, ErrorCategory, Subcategory } from '../service/types'; declare class Errors { static createErrorCode(errorLog: ErrorInfo): ErrorInfo | undefined; static getErrorInfoBySubcategory(category: ErrorCategory, subcategory: Subcategory): ErrorInfo | undefined; static addError(category: ErrorCategory, code: number | Subcategory, err: Error | string): Error; static getModuleErrorLogs(category: ErrorCategory): ErrorInfo[]; static getAllErrorLogs(): import('../service').LogInfo[]; static getErrorsByCode(code: number): ErrorInfo[]; static getErrorsByCategory(category: ErrorCategory): ErrorInfo[]; static getErrorsByCategoryAndSubcategory(category: ErrorCategory, subcategory: string): ErrorInfo[]; static clearErrorLogs(): void; } export default Errors;