/** * Main Entry Point - Clean Architecture Implementation * Public API for logs-interceptor */ import { LogsInterceptorConfig } from './application'; import { HealthStatus, ILogger, LoggerMetrics } from './domain/interfaces/ILogger'; import { LogLevel } from './domain/value-objects/LogLevel'; export * from './infrastructure/integrations'; /** * Initialize the logs interceptor with configuration * Can be called multiple times - subsequent calls will replace active runtime */ export declare function init(userConfig?: Partial): ILogger; /** * Get the global logger instance * Throws an error if not initialized */ export declare function getLogger(): ILogger; /** * Check if the logger is initialized */ export declare function isInitialized(): boolean; /** * Destroy the global logger instance */ export declare function destroy(): Promise; export declare const logger: { debug: (message: string, context?: Record) => void; info: (message: string, context?: Record) => void; warn: (message: string, context?: Record) => void; error: (message: string, context?: Record) => void; log: (level: LogLevel, message: string, context?: Record) => void; fatal: (message: string, context?: Record) => void; trackEvent: (eventName: string, properties?: Record) => void; withContext: (context: Record, fn: () => T) => T; withContextAsync: (context: Record, fn: () => Promise) => Promise; flush: () => Promise; getMetrics: () => LoggerMetrics; getHealth: () => HealthStatus; destroy: () => Promise; }; declare const _default: { init: typeof init; getLogger: typeof getLogger; isInitialized: typeof isInitialized; destroy: typeof destroy; logger: { debug: (message: string, context?: Record) => void; info: (message: string, context?: Record) => void; warn: (message: string, context?: Record) => void; error: (message: string, context?: Record) => void; log: (level: LogLevel, message: string, context?: Record) => void; fatal: (message: string, context?: Record) => void; trackEvent: (eventName: string, properties?: Record) => void; withContext: (context: Record, fn: () => T) => T; withContextAsync: (context: Record, fn: () => Promise) => Promise; flush: () => Promise; getMetrics: () => LoggerMetrics; getHealth: () => HealthStatus; destroy: () => Promise; }; }; export default _default; export type { LogsInterceptorConfig, ResolvedLogsInterceptorConfig, } from './application/config/LogsInterceptorConfig'; export type { LogEntry, LogMetadata } from './domain/entities/LogEntry'; export type { HealthStatus, ILogger, LoggerMetrics } from './domain/interfaces/ILogger'; export { LogLevelVO } from './domain/value-objects/LogLevel'; export type { LogLevel } from './domain/value-objects/LogLevel'; //# sourceMappingURL=index.d.ts.map