import type { CommandResult } from './types.js'; export declare const LOCK_FILE = "skills-lock.json"; export declare const SKILL_FILE = "SKILL.md"; export type LockEntry = { computedHash: string; skillPath: string; source: string; sourceType: string; }; export type Lock = { skills: Record; version: number; }; export type FoundSkill = { dir: string; hash: string; name: string; skillPath: string; }; export declare const hashOf: (bytes: Buffer) => string; export declare const rootsIn: (cwd: string) => string[]; /** Sorted, so two runs write the same bytes and a lock diff is a change, never an order. */ export declare const skillsIn: (cwd: string) => FoundSkill[]; /** A hash over `SKILL.md` is blind to every byte beside it (a skill with a clean markdown file and a Python file that opened a remote shell on install). */ export declare const executablesIn: (dir: string, cwd: string) => string[]; export declare const lockFor: (cwd: string) => Lock; export type SkillsInput = { cwd: string; verb: string; }; export declare const SKILLS_USAGE = "geonosis skills list|lock|audit \u2014 list the skills this repo ships, pin them by content hash into the lock file, or audit the committed pins. The audit fails on drift and on an executable file inside a skill directory."; export declare const runSkills: ({ cwd, verb }: SkillsInput) => Promise;