/**
 * Centralized logging service for dashboard visibility
 */
export interface LogEntry {
    timestamp: string;
    level: 'info' | 'warn' | 'error' | 'debug';
    message: string;
    data?: Record<string, unknown>;
}
/**
 * Add a log entry
 */
export declare function addLog(level: LogEntry['level'], message: string, data?: Record<string, unknown>): void;
/**
 * Get all log entries
 */
export declare function getLogs(): LogEntry[];
/**
 * Get logs filtered by level
 */
export declare function getLogsByLevel(level: LogEntry['level']): LogEntry[];
/**
 * Get error logs only
 */
export declare function getErrorLogs(): LogEntry[];
/**
 * Subscribe to new log entries
 */
export declare function onLog(callback: (log: LogEntry) => void): () => void;
/**
 * Clear all logs
 */
export declare function clearLogs(): void;
export declare const logInfo: (msg: string, data?: Record<string, unknown>) => void;
export declare const logWarn: (msg: string, data?: Record<string, unknown>) => void;
export declare const logError: (msg: string, data?: Record<string, unknown>) => void;
export declare const logDebug: (msg: string, data?: Record<string, unknown>) => void;
//# sourceMappingURL=logBuffer.d.ts.map