import { LogDescriptor } from 'pino'; /** * Formats log entries for email delivery * Supports both HTML and plain text formats */ export declare class EmailLogFormatterService { /** * Format log entry as HTML email */ formatHtml(log: LogDescriptor, appName: string, subjectPrefix: string): { subject: string; html: string; }; /** * Format log entry as plain text */ formatText(log: LogDescriptor, appName: string, subjectPrefix: string): { subject: string; text: string; }; /** * Extract HTTP context from log metadata */ private extractHttpContext; /** * Exclude HTTP context from general metadata */ private excludeHttpContext; /** * Format request information for HTML */ private formatRequestInfo; /** * Format request information for text */ private formatRequestInfoText; /** * Generate a curl command for the request (single line for easy copying) */ private generateCurlCommand; /** * Format user information for HTML */ private formatUserInfo; /** * Format user information for text */ private formatUserInfoText; /** * Format error object for HTML */ private formatError; /** * Format error object for text */ private formatErrorText; /** * Format metadata object for HTML */ private formatMetadata; /** * Format a value for HTML display */ private formatValue; /** * Get human-readable log level label * Uses shared utility from log-level.helper */ private getLevelLabel; /** * Get color for log level */ private getLevelColor; /** * Escape HTML special characters */ private escapeHtml; }