/** * @file `skillspectorFromDlx()` — DLX-venv tier of SkillSpector resolution. * Creates a single-purpose venv under `~/.socket/_dlx/skillspector//` * and pip-installs the pinned git SHA. Returns `undefined` when: * * - No Python interpreter is on PATH (host lacks Python 3.12+). * - The venv-create or pip-install command fails. Idempotent: hits the cached * venv when its `skillspector` entry-point already exists. */ import type { ResolvedSkillSpector } from './types.js'; export interface SkillSpectorFromDlxOptions { /** * Pinned upstream SHA. Combined with the canonical NVIDIA/skillspector repo * URL to form the pip-install spec * `git+https://github.com/NVIDIA/skillspector.git@`. */ readonly sha: string; /** * Cache directory override. Defaults to `getSocketDlxDir() + * 'skillspector/'`. Tests pass a tmpdir. */ readonly cacheDir?: string | undefined; } export declare function skillspectorFromDlx(options: SkillSpectorFromDlxOptions): Promise;