import type { Core } from '@strapi/strapi'; export type LogLevel = 'error' | 'warn' | 'info' | 'debug' | 'trace'; export declare class McpLogger { private level; private strapi; constructor(strapi: Core.Strapi); private shouldLog; private formatEntry; private sanitizeContext; private log; error(message: string, context?: Record): void; warn(message: string, context?: Record): void; info(message: string, context?: Record): void; debug(message: string, context?: Record): void; trace(message: string, context?: Record): void; /** * Log a tool execution */ logToolExecution(toolName: string, args: unknown, duration: number, success: boolean, error?: Error): void; } export declare function createLogger(strapi: Core.Strapi): McpLogger; export declare function getLogger(): McpLogger | null;