import { type Platform } from './platforms.js'; import type { InstallScope } from './types.js'; declare function getBaseDir(scope: InstallScope, projectPath: string): string; /** * Check if superpowers are installed via Claude Code plugin system. * Looks in ~/.claude/plugins/cache/{marketplace}/superpowers/{version}/skills/ */ declare function hasPluginSuperpowers(): Promise; /** * Check if superpowers are installed via Codex plugin system. * Looks in ~/.codex/plugins/cache/{marketplace}/superpowers/{version}/skills/ */ declare function hasCodexPluginSuperpowers(): Promise; /** * Check if superpowers are installed via OpenCode plugin system. * Checks multiple locations: * 1. ~/.config/opencode/superpowers/skills/ — plugin source directory * 2. ~/.config/opencode/opencode.json — plugin config with superpowers entry */ declare function hasOpenCodePluginSuperpowers(): Promise; declare function hasPlatformDetectionPath(baseDir: string, platform: Platform): Promise; declare function detectPlatforms(projectPath: string): Promise>; declare function hasSkills(baseDir: string, platform: Platform, component: 'openspec' | 'superpowers' | 'comet', _selectedPlatforms?: Platform[], scope?: InstallScope, options?: { includeGlobalFallback?: boolean; includePluginFallback?: boolean; }): Promise; export { detectPlatforms, hasPlatformDetectionPath, hasSkills, hasPluginSuperpowers, hasCodexPluginSuperpowers, hasOpenCodePluginSuperpowers, getBaseDir, }; export type { InstallScope }; //# sourceMappingURL=detect.d.ts.map