/** * @file `skillspectorFromUv()` — locked-uv-project tier of SkillSpector * resolution. Given a uv project dir (a `pyproject.toml` + `uv.lock` that pin * the upstream git SHA + its full transitive closure) and a resolved `uv` * binary, runs `uv sync --locked` to install that exact closure into the * project's `.venv` and returns the `skillspector` entry point. This is the * most locked-down tier — every dependency version is manifested in uv.lock, * and `--locked` hard-fails on lock drift (vs. `from-dlx`'s pip-from-git-SHA * venv, which re-resolves the closure freshly). Returns `undefined` when: * * - No project dir / uv binary is supplied, so the caller didn't opt in. * - The project files are absent, or `uv sync --locked` fails (lock drift, no * network, missing Python). Idempotent: a second call hits the synced venv * (`uv sync` is a no-op when the venv already matches the lock). */ import type { ResolvedSkillSpector } from './types.js'; export interface SkillSpectorFromUvOptions { /** * Absolute path to the `uv` executable (typically `resolveUv().path`). */ readonly uvBin: string; /** * Absolute path to the SkillSpector uv project dir (holds `pyproject.toml` + * `uv.lock`). Socket ships this under * `setup-security-tools/skillspector/`. */ readonly projectDir: string; } export declare function skillspectorFromUv(options: SkillSpectorFromUvOptions): Promise; export declare function venvEntryPoint(projectDir: string): string;