/**
 * Chat Mode Extension for Clawx TUI.
 *
 * Provides /chat command to toggle chat-only mode (no tools).
 * Auto-detects when a model doesn't support tools and switches.
 * Swaps the system prompt between agent mode and chat mode.
 *
 * When switching back to agent mode (via /chat toggle or model change),
 * restores tools and the full agent system prompt.
 */
import type { ExtensionAPI } from "../core/tui-gateway.js";
export interface ChatModeOptions {
    /** The full agent system prompt (with tools) */
    agentSystemPrompt: string;
    /** The chat-only system prompt (no tools) */
    chatSystemPrompt: string;
    /** Start in chat mode immediately */
    startInChatMode?: boolean;
    /** Whether SSH tools are enabled (--ssh flag) */
    sshEnabled?: boolean;
    /** Callback when chat mode changes */
    onChatModeChange?: (chatMode: boolean) => void;
}
export declare function createChatModeExtension(options: ChatModeOptions): (pi: ExtensionAPI) => void;
//# sourceMappingURL=chat-mode.d.ts.map