import type { CommandModule } from "yargs";
export declare class OllamaCommandFactory {
    /**
     * Secure wrapper around spawnSync to prevent command injection.
     */
    private static safeSpawn;
    /**
     * Create the Ollama command group
     */
    /**
     * Every handler is registered `.bind(this)`.
     *
     * yargs invokes the handler as a plain function, so a bare `this.xHandler`
     * reference arrives with `this` unset and the first `this.safeSpawn(...)`
     * throws `TypeError: this.safeSpawn is not a function`. That made EVERY
     * subcommand here fail on its first line — list-models, pull, remove, status
     * and stop all reported their generic "Failed to ..." message regardless of
     * whether Ollama was installed or running, which is exactly why the real
     * cause stayed hidden.
     */
    static createOllamaCommands(): CommandModule;
    /**
     * Handler for listing installed models
     */
    private static listModelsHandler;
    /**
     * Handler for pulling/downloading models
     */
    private static pullModelHandler;
    /**
     * Handler for removing models
     */
    private static removeModelHandler;
    /**
     * Handler for checking Ollama service status
     */
    private static statusHandler;
    /**
     * Handler for starting Ollama service
     */
    private static startHandler;
    /**
     * Handler for stopping Ollama service
     */
    private static stopHandler;
    /**
     * Handler for interactive Ollama setup
     */
    private static setupHandler;
}
