/**
 * Extra Slash Command Handlers
 *
 * Implements high-value UX slash commands:
 * - /undo - Undo last file changes via CheckpointManager
 * - /diff - Show current uncommitted git changes
 * - /context - Show context window stats (enhanced)
 * - /search - Search codebase with ripgrep
 * - /test - Run project tests
 * - /fix - Auto-fix lint/type errors
 * - /review - Quick code review of staged changes
 */
import { ChatEntry } from '../../agent/codebuddy-agent.js';
export interface CommandHandlerResult {
    handled: boolean;
    entry?: ChatEntry;
    passToAI?: boolean;
    prompt?: string;
}
export declare function handleUndo(_args: string[]): Promise<CommandHandlerResult>;
export declare function handleDiff(_args: string[]): Promise<CommandHandlerResult>;
export declare function handleContextStats(_args: string[], agent?: {
    getContextStats: () => unknown;
    formatContextStats: () => string;
    getCurrentModel: () => string;
}): Promise<CommandHandlerResult>;
export declare function handleSearch(args: string[]): Promise<CommandHandlerResult>;
export declare function handleTest(args: string[]): Promise<CommandHandlerResult>;
export declare function handleFix(_args: string[]): Promise<CommandHandlerResult>;
export declare function handleReview(_args: string[]): Promise<CommandHandlerResult>;
