/** * repl/slashCommands.ts * * Handles all slash (/) commands typed in the REPL: * /help, /voice, /speak, /models, /model * * Returns `true` if the command was handled (caller should re-prompt), * returns `false` if the input was not a slash command. */ interface ModelSwitchContext { currentModel: string; cvApiKey: string | undefined; engine: any; systemInstruction: string; tools: any[]; options: { think?: number; }; } export interface SlashCommandResult { /** If model was switched, contains the new values */ modelSwitch?: { newModel: string; newEngine: any; }; } /** * Dispatch a slash command. Returns the result or null if not a slash command. * Always returns non-null for slash inputs — caller should re-prompt after. */ export declare function handleSlashCommand(input: string, currentModel: string, modelCtx: Omit): Promise; export {}; //# sourceMappingURL=slashCommands.d.ts.map