/** * Skill Installer * * Handles installation of skill dependencies via various package managers. * */ import type { RuntimeToolsConfig } from '../../config/schema.js'; import type { SkillEntry, SkillInstallResult, SkillInstallSpec } from './types.js'; export interface InstallContext { stateDir: string; runtimeConfig: RuntimeToolsConfig; skillEntry: SkillEntry; installSpec: SkillInstallSpec; timeoutMs: number; } /** * Check if a binary exists */ export declare function hasBinary(name: string): boolean; /** * Resolve brew executable path */ export declare function resolveBrewExecutable(): string | undefined; /** * Find install spec by ID */ export declare function findInstallSpec(entry: SkillEntry, installId: string): SkillInstallSpec | undefined; /** * Install a skill dependency */ export declare function installSkill(ctx: InstallContext): Promise;