declare const LEVELS: { readonly debug: 0; readonly info: 1; readonly warn: 2; readonly error: 3; }; type Level = keyof typeof LEVELS; interface LoggerOptions { readonly level: Level; readonly format: 'text' | 'json'; } interface Logger { debug(component: string, message: string, metadata?: Record, operationId?: string): void; info(component: string, message: string, metadata?: Record, operationId?: string): void; warn(component: string, message: string, metadata?: Record, operationId?: string): void; error(component: string, message: string, metadata?: Record, operationId?: string): void; } declare function createLogger(options: LoggerOptions): Logger; export { type Logger, type LoggerOptions, createLogger };