/** * Platform-aware logger that ensures consistent line endings * and prevents null characters in output */ export declare class Logger { private static instance; private readonly lineEnding; private constructor(); static getInstance(): Logger; /** * Sanitizes a string for output: * - Removes null characters * - Normalizes line endings to platform-specific format * - Removes trailing newlines to prevent double spacing */ private sanitize; /** * Logs a message to stdout with proper line endings */ log(...args: unknown[]): void; /** * Logs an error message to stderr with proper line endings */ error(...args: unknown[]): void; /** * Logs a message without adding a newline at the end */ write(message: string): void; /** * Logs a warning message to stderr */ warn(...args: unknown[]): void; /** * Logs a debug message (only in development/test environments) */ debug(...args: unknown[]): void; } export declare const logger: Logger; //# sourceMappingURL=logger.d.ts.map