/**
 * Slash command handling for the legacy OwlCoda readline REPL.
 */
import type { OwlCodaConfig } from '../config.js';
export interface CommandContext {
    config: OwlCodaConfig;
    currentModel: string;
    sessionId: string | null;
    messageCount: number;
    autoApprove: boolean;
    setModel: (model: string) => void;
    setAutoApprove: (value: boolean) => void;
    clearMessages: () => void;
    quit: () => void;
    resumeSession: (id: string) => Promise<string | null>;
}
export interface CommandResult {
    output: string;
    handled: boolean;
}
export declare function isCommand(input: string): boolean;
export declare function handleCommand(input: string, ctx: CommandContext): Promise<CommandResult>;
