/** * Logging Module * * Structured logging with RFC 5424 severity levels. * All logs go to stderr (stdout is reserved for MCP protocol). * * SECURITY: Never log sensitive data (tokens, passwords, PII). */ declare class Logger { private name; constructor(name: string); /** * Check if a log level should be output based on current config */ private shouldLog; /** * Format and output a log entry */ private log; debug(message: string, data?: Record): void; info(message: string, data?: Record): void; notice(message: string, data?: Record): void; warning(message: string, data?: Record): void; error(message: string, data?: Record): void; critical(message: string, data?: Record): void; } /** * Create a logger instance for a specific component * * @param name - Component name (e.g., "telegram-api", "tools.updates") * @returns Logger instance */ export declare function createLogger(name: string): Logger; export declare const logger: Logger; /** * Generate a unique request ID for correlation */ export declare function generateRequestId(): string; export {}; //# sourceMappingURL=index.d.ts.map