/** * Set current project path for local logging */ export declare function setLogProjectPath(projectPath: string | null): void; type LogLevel = 'info' | 'warn' | 'error' | 'debug'; export interface LogEntry { timestamp: string; level: LogLevel; message: string; data?: any; } /** * Format log entry as string */ export declare function formatLogEntry(entry: LogEntry): string; /** * Logger API */ export declare const logger: { info: (message: string, data?: any) => void; warn: (message: string, data?: any) => void; error: (message: string, data?: any) => void; debug: (message: string, data?: any) => void; }; /** * Log API request (both global and local) */ export declare function logApiRequest(provider: string, model: string, messageCount: number): void; /** * Log API response (both global and local) */ export declare function logApiResponse(provider: string, success: boolean, responseLength?: number, error?: string): void; /** * Log session operation (local only - project-specific) */ export declare function logSession(operation: 'save' | 'load' | 'delete' | 'rename', sessionName: string, success: boolean): void; /** * Log application startup */ export declare function logStartup(version: string): void; /** * Log application error */ export declare function logAppError(error: Error, context?: string): void; export {};