/**
 * /plan command handler.
 *
 * Handles the subcommands of the /plan slash command:
 *   /plan mode auto|single|cohort|background|remote
 *   /plan explain
 *   /plan override <strategy>
 *   /plan clear
 *
 * Returns a human-readable result string to display in the conversation.
 */
import type { RuntimeEventBus } from '../runtime/events/index.js';
import type { AdaptivePlanner as AdaptivePlannerType } from '@pellux/goodvibes-sdk/platform/core/adaptive-planner';
export interface PlanCommandResult {
    /** Human-readable output to show the user. */
    output: string;
    /** Whether the command succeeded. */
    ok: boolean;
}
export interface PlanCommandDeps {
    adaptivePlanner: Pick<AdaptivePlannerType, 'getMode' | 'setMode' | 'explain' | 'override' | 'clearOverride' | 'getOverride' | 'getLatest'>;
    runtimeBus?: RuntimeEventBus | null;
}
/**
 * Dispatch a parsed /plan subcommand.
 *
 * @param subcommand - The first word after /plan (e.g. 'mode', 'explain', 'override').
 * @param args       - Remaining tokens.
 */
export declare function handlePlanCommand(deps: PlanCommandDeps, subcommand: string, args: string[]): PlanCommandResult;
//# sourceMappingURL=plan-command-handler.d.ts.map