/** * OpenClaw installation detector * * Detects existing OpenClaw installations (npm or git method) * and gathers information needed for isolation. * * This module is in shield-sandbox so it can be reused by both * the CLI wizard and the daemon for status checks. */ export type InstallMethod = 'npm' | 'git' | 'unknown'; export interface OpenClawInstallation { /** Whether OpenClaw is installed */ found: boolean; /** Installation method */ method: InstallMethod; /** Path to the main package/source directory */ packagePath?: string; /** Path to the openclaw binary/wrapper */ binaryPath?: string; /** Path to the config directory (~/.openclaw/) */ configPath?: string; /** Installed version */ version?: string; /** Path to the git repo (for git installs) */ gitRepoPath?: string; } export interface DetectionResult { installation: OpenClawInstallation; errors: string[]; warnings: string[]; } export interface PrerequisitesResult { ok: boolean; missing: string[]; } /** * Detect OpenClaw installation */ export declare function detectOpenClaw(): DetectionResult; /** * Check prerequisites for isolation */ export declare function checkPrerequisites(): PrerequisitesResult; //# sourceMappingURL=detect.d.ts.map