/**
 * 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<DebugCommandResult>;
    showEvents: () => Promise<DebugCommandResult>;
    showCache: () => Promise<DebugCommandResult>;
    showPerformance: () => Promise<DebugCommandResult>;
    exportContext: () => Promise<DebugCommandResult>;
    clearDebugData: () => Promise<DebugCommandResult>;
    toggleProfiling: () => Promise<DebugCommandResult>;
}
/**
 * Get the current application state summary
 */
export declare function getStateSummary(): Promise<string>;
/**
 * Get recent events summary
 */
export declare function getEventsSummary(): Promise<string>;
/**
 * Get cache statistics summary
 */
export declare function getCacheSummary(): Promise<string>;
/**
 * Get performance summary
 */
export declare function getPerformanceSummary(): Promise<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