import { format } from "winston"; /** * Safe string conversion - prevents RCE via log injection */ export declare function toSafeString(value: unknown): string; /** * Sanitize sensitive data by replacing with hash */ export declare function sanitizeValue(value: unknown, fieldName?: string): unknown; /** * Truncate long strings to prevent log bloat */ export declare function truncateString(str: string, maxLength?: number): string; /** * JSON formatter with sanitization */ export declare const jsonFormatter: ReturnType; /** * Console formatter (human-readable) */ export declare const consoleFormatter: ReturnType;