export interface DepStatus { /** Bin name (what we look for on PATH). */ bin: string; /** npm package that provides it. */ pkg: string; installed: boolean; /** Full path found via `where`/`which`, if any. */ path?: string; /** Version from ` --version`, if available. */ version?: string; } /** * Pre-flight dependency probe. Cortex 0.3 went standalone — the Engram * and Persona MCP subprocesses are no longer spawned — so there is * currently nothing to probe. Kept as an extension point: any future * runtime that does require an external companion (e.g. a Synapse * bridge) plugs its probe in here. */ export declare function detectDeps(): Promise; /** * Install one or more npm packages globally. Streams output to stderr so * the user sees progress. Resolves with the exit code. */ export declare function installGlobally(packages: string[]): Promise; /** Detect whether the `ollama` CLI is installed locally. */ export declare function detectOllama(): Promise<{ installed: boolean; version?: string; path?: string; }>; /** * Install Ollama using whatever the OS provides. Streams output. Resolves * with the exit code. On success, Ollama's installers start the service * automatically on Windows and macOS; Linux script starts/enables systemd. */ export declare function installOllama(): Promise; /** * Check whether a model is already pulled on the given Ollama host. * Returns `undefined` if the host isn't reachable. */ export declare function ollamaHasModel(host: string, model: string): Promise; /** Run `ollama pull `, streaming progress to the user's terminal. */ export declare function ollamaPullModel(model: string): Promise; /** * Wait until Ollama responds at the given host, polling every interval. * Returns true if it came up within the timeout, false otherwise. */ export declare function waitForOllama(host: string, opts?: { timeoutMs?: number; intervalMs?: number; }): Promise; //# sourceMappingURL=detect.d.ts.map