/** * Logger Utility * Production-safe logging that respects __DEV__ flag * Logs are suppressed in production builds to reduce bundle size and improve performance */ interface LoggerConfig { enableInProduction?: boolean; errorTrackingService?: (error: unknown, context?: Record) => void; } declare class Logger { private isDev; private config; constructor(config?: LoggerConfig); /** * Debug logging - only in development * Use for detailed debugging information */ debug(...args: unknown[]): void; /** * Info logging - only in development * Use for general information */ info(...args: unknown[]): void; /** * Warning logging - always shown * Use for recoverable issues */ warn(...args: unknown[]): void; /** * Error logging - always shown * Use for errors and exceptions * In production, sends to error tracking service if configured */ error(...args: unknown[]): void; /** * Group logging - only in development * Use for grouping related logs */ group(label: string): void; /** * End group logging - only in development */ groupEnd(): void; /** * Table logging - only in development * Use for displaying tabular data */ table(data: unknown): void; /** * Time measurement - only in development * Use for performance measurements */ time(label: string): void; /** * End time measurement - only in development */ timeEnd(label: string): void; /** * Assert logging - only in development * Use for assertions */ assert(condition: boolean, ...args: unknown[]): void; /** * Configure logger */ configure(config: LoggerConfig): void; } export declare const logger: Logger; export { Logger }; export type { LoggerConfig };