/** * Debug Commands * * Debug commands for the dev CLI command palette. * * @since v1.41.4 */ import type { UICommand } from '../../ui/commands/registry.js'; import { type StateSnapshot, setStateProvider } from '../debug/context-export.js'; export { setStateProvider, type StateSnapshot }; /** * Debug command result */ export interface DebugCommandResult { success: boolean; output: string; error?: string; } /** * Debug command handlers */ export interface DebugCommandHandlers { showState: () => Promise; showEvents: () => Promise; showCache: () => Promise; showPerformance: () => Promise; exportContext: () => Promise; clearDebugData: () => Promise; toggleProfiling: () => Promise; } /** * Get the current application state summary */ export declare function getStateSummary(): Promise; /** * Get recent events summary */ export declare function getEventsSummary(): string; /** * Get cache statistics summary */ export declare function getCacheSummary(): Promise; /** * Get performance summary */ export declare function getPerformanceSummary(): string; /** * Export debug context to file */ export declare function exportDebugContext(): Promise<{ path: string; summary: string; }>; /** * Clear all debug data */ export declare function clearAllDebugData(): void; /** * Toggle performance profiling */ export declare function toggleProfiling(): { enabled: boolean; message: string; }; /** * Create default debug command handlers */ export declare function createDebugCommandHandlers(): DebugCommandHandlers; /** * Create debug commands for the command palette */ export declare function createDebugCommands(handlers: DebugCommandHandlers): UICommand[]; //# sourceMappingURL=debug-commands.d.ts.map