/**
 * Skill Installer
 *
 * Handles installation of skill dependencies via various package managers.
 *
 */
import type { SkillEntry, SkillInstallResult, SkillInstallSpec } from './types.js';
export interface InstallerPreferences {
    preferBrew: boolean;
    nodeManager: 'pnpm' | 'npm' | 'yarn' | 'bun';
}
export interface InstallContext {
    workspaceDir: string;
    skillEntry: SkillEntry;
    installSpec: SkillInstallSpec;
    timeoutMs: number;
    preferences: InstallerPreferences;
}
/**
 * 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<SkillInstallResult>;
/**
 * Get default installer preferences from config
 */
export declare function getDefaultInstallerPreferences(): InstallerPreferences;
