/** * OpenClaw detection and configuration utilities. * Reads/writes OpenClaw config without modifying unrelated settings. */ export interface OpenClawInfo { found: boolean; /** How OpenClaw was detected — affects which commands can be used */ runtime?: "local" | "docker"; /** Docker container name, set when runtime === "docker" */ containerName?: string; version?: string; configPath?: string; config?: Record; gatewayRunning?: boolean; gatewayPort?: number; skillsDir?: string; } export declare function detectOpenClaw(): OpenClawInfo; export declare function readOpenClawConfig(): Record | null; export declare function writeOpenClawConfig(config: Record): void; export declare function getConfigPermissions(): { mode: string; safe: boolean; }; /** * Get a nested config value safely. */ export declare function getConfigValue(config: Record, path: string): unknown; /** * Set a nested config value. */ export declare function setConfigValue(config: Record, path: string, value: unknown): void;